Skip to content

Commit

Permalink
sql_filename cli test
Browse files Browse the repository at this point in the history
  • Loading branch information
jrob93 committed May 21, 2024
1 parent faba3ab commit d1b2eb0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/adler/utilities/test_AdlerCLIArguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ def test_AdlerCLIArguments_population():
good_arguments_object = AdlerCLIArguments(good_arguments)
assert good_arguments_object.ssObjectId_list == get_test_data_filepath("test_SSOIDs.txt")

# also test setting sql_filename

good_input_dict["sql_filename"] = get_test_data_filepath("testing_database.db")
good_arguments = args(**good_input_dict)
good_arguments_object = AdlerCLIArguments(good_arguments)
assert good_arguments_object.sql_filename == get_test_data_filepath("testing_database.db")


def test_AdlerCLIArguments_badSSOID():
# test that a bad ssObjectId triggers the right error
Expand Down

0 comments on commit d1b2eb0

Please sign in to comment.