Skip to content

Commit

Permalink
Expand foundry logscale unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jshcodes committed Oct 25, 2023
1 parent 6187dc0 commit d007008
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/test_foundry_logscale.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,21 @@ def run_all_tests(self):
"InitializeV1" : falcon.initialize(),
"ListReposV1" : falcon.list_repos(),
"ListViewV1" : falcon.list_views(),
"CreateViewV1" : falcon.create_view(),
"CreateViewV1" : falcon.create_view(description="whatever"),
"CombinedSavedSearchesV1" : falcon.query_saved_searches(),
"IngestDataV1" : falcon.ingest_data(data_file="testfile.ext", tag="file_tag"),
"IngestDataV1" : falcon.ingest_data(data_file="testfile.png", tag="file_tag"),
"IngestDataV1also" : falcon.ingest_data(file="testfile.png", tag="file_tag"),
"RenameRepoV1" : falcon.rename_repo(name="dougs_repo", new_name="larrys_repo"),
"CreateSavedSearchesDeployV1" : falcon.deploy(ids="12345678"),
"CreateSavedSearchesDeployV1" : falcon.deploy(parameters={"ids":"12345678"}), # These belong in the body
"CreateSavedSearchesDynamicExecuteV1" : falcon.execute_dynamic(end="10", start="1"),
"GetSavedSearchesExecuteV1" : falcon.get_search_results(job_id="12345"),
"CreateSavedSearchesExecuteV1" : falcon.execute(end="10", start="1"),
"CreateSavedSearchesExecuteV1" : falcon.execute(search_parameters={"something": "somethingElse"}, end="10", start="1"),
"CreateSavedSearchesIngestV1" : falcon.populate(),
"GetSavedSearchesJobResultsDownloadV1" : falcon.download_results(job_id="12345", result_format="json"),
"SavedSearchesValidate" : falcon.validate(query_string="whatever", arguments={"arg1":"whatever"}),
"GetSavedSearchesV1" : falcon.get_search(ids="12345678"),
"CreateSavedSearchesV1" : falcon.create_search(),
"CreateSavedSearchesV1" : falcon.create_search(start="somewhere", end="somewhere_else", is_system=False),
"DeleteSavedSearchesV1" : falcon.delete_search(ids="12345678"),
"UpdateSavedSearchesV1" : falcon.update_search(),
"RenameViewV1" : falcon.rename_view(name="bobs_view", new_name="dougs_view"),
Expand Down

0 comments on commit d007008

Please sign in to comment.