Skip to content

Commit

Permalink
remove one-off tests
Browse files Browse the repository at this point in the history
  • Loading branch information
noahbaculi committed Aug 31, 2023
1 parent f213dca commit b0d2a69
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions python/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,23 +112,5 @@ def test_only_py_files(self):


if __name__ == "__main__":
# unittest.main()
# example_usage()

# search_path = "./sample_dir_mix"
search_path = "./"

reference_file_path = "./sample_dir_hello_world/file_1.py"
with open(reference_file_path, "r") as file:
reference_string = file.read()

# Perform search with required parameters
all_file_matches = busca.search_for_lines(reference_string, search_path, max_lines=10_000)

with open("./sample_dir_hello_world/file_2.py", "r") as file:
reference_string_2 = file.read()
_ = busca.search_for_lines(reference_string_2, search_path, max_lines=10_000)

with open("./sample_dir_hello_world/file_3.py", "r") as file:
reference_string_3 = file.read()
_ = busca.search_for_lines(reference_string_3, search_path, max_lines=10_000)
unittest.main()
example_usage()

0 comments on commit b0d2a69

Please sign in to comment.