From 736029bbdc201e0a8f4ca96b284da6702ebf4968 Mon Sep 17 00:00:00 2001 From: Daniel Gaspar Date: Tue, 21 Feb 2023 15:05:50 +0000 Subject: [PATCH] debug --- tests/integration_tests/base_api_tests.py | 3 +-- tests/integration_tests/fixtures/users.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/integration_tests/base_api_tests.py b/tests/integration_tests/base_api_tests.py index b0328e9123a81..478fee0a0dca4 100644 --- a/tests/integration_tests/base_api_tests.py +++ b/tests/integration_tests/base_api_tests.py @@ -284,9 +284,8 @@ def test_get_filter_related_owners(self): rv = self.client.get(uri) assert rv.status_code == 200 response = json.loads(rv.data.decode("utf-8")) - # assert 4 == response["count"] + assert 4 == response["count"] sorted_results = sorted(response["result"], key=lambda value: value["text"]) - raise Exception(sorted_results) expected_results = [ { "extra": {"active": True, "email": "gamma@fab.org"}, diff --git a/tests/integration_tests/fixtures/users.py b/tests/integration_tests/fixtures/users.py index 1ddfdb9622482..b812de4448979 100644 --- a/tests/integration_tests/fixtures/users.py +++ b/tests/integration_tests/fixtures/users.py @@ -21,7 +21,7 @@ from tests.integration_tests.test_app import app -@pytest.fixture(scope="session") +@pytest.fixture() def create_gamma_sqllab_no_data(): with app.app_context():