PEP8
This commit is contained in:
parent
04eac793d6
commit
cbae8c9711
|
@ -4,7 +4,7 @@ from django.test import Client
|
|||
|
||||
import helper
|
||||
|
||||
pytestmark=pytest.mark.django_db
|
||||
pytestmark = pytest.mark.django_db
|
||||
|
||||
|
||||
def test_backup_detail_view_not_logged_in():
|
||||
|
|
|
@ -6,7 +6,7 @@ from django.contrib.auth import get_user_model
|
|||
|
||||
import helper
|
||||
|
||||
pytestmark=pytest.mark.django_db
|
||||
pytestmark = pytest.mark.django_db
|
||||
|
||||
|
||||
def test_customer_detail_view_not_logged_in():
|
||||
|
|
|
@ -5,7 +5,7 @@ from django.test import Client
|
|||
|
||||
import helper
|
||||
|
||||
pytestmark=pytest.mark.django_db
|
||||
pytestmark = pytest.mark.django_db
|
||||
|
||||
|
||||
def test_computer_list_view_not_logged_in():
|
||||
|
|
|
@ -5,7 +5,8 @@ from django.test import Client
|
|||
|
||||
import helper
|
||||
|
||||
pytestmark=pytest.mark.django_db
|
||||
pytestmark = pytest.mark.django_db
|
||||
|
||||
|
||||
def test_customer_computer_table_not_logged_in():
|
||||
response = Client().get('/customer/1/computers/')
|
||||
|
|
|
@ -6,7 +6,7 @@ from django.contrib.auth import get_user_model
|
|||
|
||||
import helper
|
||||
|
||||
pytestmark=pytest.mark.django_db
|
||||
pytestmark = pytest.mark.django_db
|
||||
|
||||
|
||||
def test_customer_detail_view_not_logged_in():
|
||||
|
|
|
@ -5,7 +5,7 @@ from django.test import Client
|
|||
|
||||
from helper import in_content, not_in_content
|
||||
|
||||
pytestmark=pytest.mark.django_db
|
||||
pytestmark = pytest.mark.django_db
|
||||
|
||||
|
||||
def test_customer_device_table_not_logged_in():
|
||||
|
|
|
@ -6,7 +6,7 @@ from django.contrib.auth import get_user_model
|
|||
|
||||
import helper
|
||||
|
||||
pytestmark=pytest.mark.django_db
|
||||
pytestmark = pytest.mark.django_db
|
||||
|
||||
|
||||
def test_customer_list_view_not_logged_in():
|
||||
|
|
|
@ -5,7 +5,7 @@ from django.test import Client
|
|||
|
||||
import helper
|
||||
|
||||
pytestmark=pytest.mark.django_db
|
||||
pytestmark = pytest.mark.django_db
|
||||
|
||||
|
||||
def test_device_detail_view_not_logged_in():
|
||||
|
|
|
@ -8,7 +8,8 @@ from inventory.models import DeviceInNet
|
|||
|
||||
import helper
|
||||
|
||||
pytestmark=pytest.mark.django_db
|
||||
pytestmark = pytest.mark.django_db
|
||||
|
||||
|
||||
def test_net_detail_view_no_permission(create_admin_user):
|
||||
create_admin_user()
|
||||
|
|
Loading…
Reference in New Issue