Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hynky1999 committed Oct 24, 2023
1 parent a095d2d commit 554c176
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_and_types.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Test on main branch
env:
PYTHON_VERSION: "3.10"
PYTHON_VERSION: "3.11"

on:
pull_request:
Expand Down Expand Up @@ -60,4 +60,4 @@ jobs:
run: pyright

- name: Lint with black
run: black -t py310 --check .
run: black -t py311 --check .
2 changes: 1 addition & 1 deletion tests/athena_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ async def test_batch_size_zero(self):

async def test_extra_sql_where(self):
self.domains = ["seznam.cz"]
where_clause = "cc.fetch_status != 200"
where_clause = 'cc.warc_filename = "filename3"'
self.iterator = AthenaAggregator.AthenaAggregatorIterator(
aws_client=self.aws_client,
domains=self.domains,
Expand Down
6 changes: 3 additions & 3 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def seed_db(self):
100,
200,
"CC-MAIN-2021-05",
100,
200,
"warc",
],
[
Expand All @@ -53,7 +53,7 @@ def seed_db(self):
[
"seznam.cz",
"2022-01-03 00:00:00.000",
"filename3",
"filename6",
100,
200,
"CC-MAIN-2022-05",
Expand All @@ -63,7 +63,7 @@ def seed_db(self):
[
"seznam.cz",
"2023-01-03 00:00:00.000",
"filename3",
"filename4",
100,
200,
"CC-MAIN-2023-09",
Expand Down

0 comments on commit 554c176

Please sign in to comment.