Skip to content

Commit

Permalink
fix caps
Browse files Browse the repository at this point in the history
  • Loading branch information
cadosecurity committed Nov 26, 2023
1 parent fad8296 commit 05bc83f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from cloudgrep.cloud import Cloud
from cloudgrep.search import Search
from cloudgrep.cloudgrep import Cloudgrep
from cloudgrep.cloudgrep import CloudGrep


BASE_PATH = os.path.dirname(os.path.realpath(__file__))
Expand Down Expand Up @@ -71,7 +71,7 @@ def test_e2e(self) -> None:
file = "queries.txt"
with open(file, "w") as f:
f.write(f"query1\n{_QUERY}\nquery3")
multi_query = Cloudgrep().load_queries(file)
multi_query = CloudGrep().load_queries(file)
hits = Cloud().download_from_s3_multithread(_BUCKET, matching_keys, multi_query, False)

# Upload a log 10 000 times and see how long it takes
Expand Down Expand Up @@ -112,6 +112,6 @@ def test_returns_string_with_file_contents(self) -> None:
file = "queries.txt"
with open(file, "w") as f:
f.write("query1\nquery2\nquery3")
queries = Cloudgrep().load_queries(file)
queries = CloudGrep().load_queries(file)
self.assertIsInstance(queries, str)
self.assertEqual(queries, "query1|query2|query3")

0 comments on commit 05bc83f

Please sign in to comment.