-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
49c78a3
commit 147cd51
Showing
1 changed file
with
0 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,10 @@ | |
from django.middleware.locale import LocaleMiddleware | ||
|
||
import pytest | ||
|
||
from pytest_socket import disable_socket | ||
|
||
from benefits.core import session | ||
from benefits.core.models import AuthProvider, EligibilityType, EligibilityVerifier, PaymentProcessor, PemData, TransitAgency | ||
from django.contrib.auth.models import User | ||
|
||
|
||
def pytest_runtest_setup(): | ||
|
@@ -34,21 +32,6 @@ def app_request(rf): | |
return app_request | ||
|
||
|
||
@pytest.fixture | ||
def model_AdminUser(): | ||
user = User.objects.create( | ||
email="[email protected]", | ||
first_name="", | ||
last_name="", | ||
username="", | ||
is_active=True, | ||
is_staff=True, | ||
is_superuser=True, | ||
) | ||
|
||
return user | ||
|
||
|
||
@pytest.fixture | ||
def model_PemData(): | ||
data = PemData.objects.create( | ||
|