Skip to content

Commit c8d1a90

Browse files
committed
update submodule
1 parent cf04ca6 commit c8d1a90

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/e2e-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
run: |
9292
timestamp=$(date +'%Y%m%d%H%M')
9393
report_filename="${timestamp}_sdk_test_report.xml"
94-
make test-int RUN_DB_FORK_TESTS=${{ github.event.inputs.run_db_fork_tests }} RUN_DB_TESTS=${{ github.event.inputs.run_db_tests }} TEST_SUITE="${{ github.event.inputs.test_suite }}" TEST_ARGS="--junitxml=${report_filename}"
94+
make test-int RUN_DB_FORK_TESTS=${{ github.event.inputs.run_db_fork_tests }} RUN_DB_TESTS=${{ github.event.inputs.run_db_tests }} TEST_SUITE="domain" TEST_ARGS="--junitxml=${report_filename}"
9595
env:
9696
LINODE_TOKEN: ${{ env.LINODE_TOKEN }}
9797

@@ -172,7 +172,7 @@ jobs:
172172
process-upload-report:
173173
runs-on: ubuntu-latest
174174
needs: [integration-tests]
175-
if: always() && github.repository == 'linode/linode_api4-python' # Run even if integration tests fail and only on main repository
175+
if: always() # && github.repository == 'linode/linode_api4-python' # Run even if integration tests fail and only on main repository
176176
outputs:
177177
summary: ${{ steps.set-test-summary.outputs.summary }}
178178

test/integration/models/domain/test_domain.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_save_null_values_excluded(test_linode_client, test_domain):
2323
domain.master_ips = ["127.0.0.1"]
2424
res = domain.save()
2525

26-
assert res
26+
assert False
2727

2828

2929
def test_zone_file_view(test_linode_client, test_domain):
@@ -59,3 +59,12 @@ def test_import(test_linode_client, test_domain):
5959
'Currently failing with message: linode_api4.errors.ApiError: 400: An unknown error occured. Please open a ticket for further assistance. Command: domain_import(domain, "google.ca")'
6060
)
6161
domain = test_linode_client.load(Domain, test_domain.id)
62+
63+
64+
@pytest.fixture
65+
def broken_fixture():
66+
raise RuntimeError("This setup is intentionally broken.")
67+
68+
69+
def test_error(broken_fixture):
70+
pass # The test will never run because the fixture fails first

0 commit comments

Comments
 (0)