update old test to new scheme

This commit is contained in:
AlanCoding
2016-10-15 11:22:59 -04:00
parent 42cf74b085
commit fa766c3657
2 changed files with 4 additions and 2 deletions

View File

@@ -137,6 +137,7 @@ def test_patch_project_null_organization(patch, organization, project, admin):
def test_patch_project_null_organization_xfail(patch, project, org_admin):
patch(reverse('api:project_detail', args=(project.id,)), { 'name': 't', 'organization': None}, org_admin, expect=400)
@pytest.mark.django_db
def test_cannot_schedule_manual_project(project, admin_user, post):
response = post(