diff --git a/tests/integration_tests/base_api_tests.py b/tests/integration_tests/base_api_tests.py index b0328e9123a8..478fee0a0dca 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 1ddfdb962248..b812de444897 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():