Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into creds
Browse files Browse the repository at this point in the history
  • Loading branch information
desertaxle committed Apr 3, 2024
2 parents b275f89 + a2d212c commit 088a545
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
packages=find_packages(exclude=("tests", "docs")),
python_requires=">=3.7",
python_requires=">=3.8",
install_requires=install_requires,
entry_points={
"prefect.collections": [
Expand All @@ -38,10 +38,11 @@
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
],
)
6 changes: 3 additions & 3 deletions tests/test_client_waiter.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

@pytest.fixture
def mock_waiter(monkeypatch):
waiter = MagicMock()
waiter = MagicMock(name="mock_waiter")
monkeypatch.setattr(
"prefect_aws.client_waiter.create_waiter_with_client",
waiter,
Expand Down Expand Up @@ -44,7 +44,7 @@ def test_flow():
return waiter

test_flow()
assert mock_waiter.wait.called_once_with("JobExists")
mock_waiter().wait.assert_called_once_with()


@mock_ec2
Expand All @@ -66,4 +66,4 @@ def test_flow():
return waiter

test_flow()
assert mock_waiter.wait.called_once_with("instance_exists")
mock_waiter.wait.assert_called_once_with()

0 comments on commit 088a545

Please sign in to comment.