mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Oops
This commit is contained in:
@@ -748,8 +748,8 @@ def test_ec_create_vehicle(logged_in_browser, live_server, admin_user, checklist
|
||||
assert vehicle_name == vehicle.vehicle
|
||||
|
||||
|
||||
#FIXME
|
||||
@pytest.mark.xfail
|
||||
# FIXME
|
||||
@pytest.mark.xfail(run=False)
|
||||
def test_ec_create_crew(logged_in_browser, live_server, admin_user, checklist):
|
||||
page = pages.EditEventChecklist(logged_in_browser.driver, live_server.url, pk=checklist.pk).open()
|
||||
page.add_crew()
|
||||
|
||||
10
conftest.py
10
conftest.py
@@ -23,12 +23,12 @@ def pytest_configure():
|
||||
django.setup()
|
||||
|
||||
|
||||
@pytest.fixture # Overrides the one from pytest-django
|
||||
@pytest.fixture # Overrides the one from pytest-django
|
||||
def admin_user(admin_user):
|
||||
admin_user.username="EventTest"
|
||||
admin_user.first_name="Event"
|
||||
admin_user.last_name="Test"
|
||||
admin_user.initials="ETU"
|
||||
admin_user.username = "EventTest"
|
||||
admin_user.first_name = "Event"
|
||||
admin_user.last_name = "Test"
|
||||
admin_user.initials = "ETU"
|
||||
admin_user.save()
|
||||
return admin_user
|
||||
|
||||
|
||||
Reference in New Issue
Block a user