Remove git project configuration from project test fixtures

Having this in here causes us to go out and pull down the repo whenever
we run a test, adds around 9 seconds per test on a good connection.. if
we need real data in here, we should figure out how to get it locally
This commit is contained in:
Akita Noek 2016-04-19 13:21:37 -04:00
parent f0aebd00eb
commit 2a0b445488

View File

@ -106,8 +106,6 @@ def team_member(user, team):
def project(instance, organization):
prj = Project.objects.create(name="test-proj",
description="test-proj-desc",
scm_type="git",
scm_url="https://github.com/jlaska/ansible-playbooks",
organization=organization
)
return prj
@ -120,8 +118,6 @@ def project_factory(organization):
except Project.DoesNotExist:
prj = Project.objects.create(name=name,
description="description for " + name,
scm_type="git",
scm_url="https://github.com/jlaska/ansible-playbooks",
organization=organization
)
return prj