From fbe1a143044181f4e5ff559d7b9268f97378a31c Mon Sep 17 00:00:00 2001 From: Ken Tsang Date: Wed, 16 Aug 2017 14:23:32 +0100 Subject: [PATCH] Removed create_inbound_numberfrom fixture --- tests/app/conftest.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/app/conftest.py b/tests/app/conftest.py index 74ea2bbd7..86437e7a1 100644 --- a/tests/app/conftest.py +++ b/tests/app/conftest.py @@ -166,9 +166,7 @@ def sample_service( @pytest.fixture(scope='function') def sample_service_full_permissions(notify_db, notify_db_session): - service = sample_service(notify_db, notify_db_session, permissions=SERVICE_PERMISSION_TYPES) - create_inbound_number('12345', service_id=service.id) - return service + return sample_service(notify_db, notify_db_session, permissions=SERVICE_PERMISSION_TYPES) @pytest.fixture(scope='function')