Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
c4ddb720
Commit
c4ddb720
authored
Oct 11, 2011
by
Vangelis Koukis
Browse files
Fix failing tests after fixture refactoring
Fix failing tests after fixture refactoring, refs #1263
parent
f0b16d2e
Changes
3
Hide whitespace changes
Inline
Side-by-side
aai/tests.py
View file @
c4ddb720
...
...
@@ -41,7 +41,7 @@ from synnefo.aai.shibboleth import Tokens
class
AaiTestCase
(
TestCase
):
fixtures
=
[
'api_test_data'
,
'auth_test_data'
]
fixtures
=
[
'users'
,
'api_test_data'
,
'auth_test_data'
]
apibase
=
'/api/v1.1'
def
setUp
(
self
):
...
...
api/tests.py
View file @
c4ddb720
...
...
@@ -54,7 +54,7 @@ class AaiClient(Client):
class
APITestCase
(
TestCase
):
fixtures
=
[
'api_test_data'
,
'users.json'
]
fixtures
=
[
'users'
,
'api_test_data'
]
test_server_id
=
1001
test_image_id
=
1
test_flavor_id
=
1
...
...
@@ -417,7 +417,7 @@ class BaseTestCase(TestCase):
SERVERS
=
1
SERVER_METADATA
=
0
IMAGE_METADATA
=
0
fixtures
=
[
'users
.json
'
]
fixtures
=
[
'users'
]
def
setUp
(
self
):
self
.
client
=
AaiClient
()
...
...
@@ -819,7 +819,7 @@ class ServerVNCConsole(BaseTestCase):
class
AaiTestCase
(
TestCase
):
fixtures
=
[
'api_test_data'
,
'auth_test_data'
]
fixtures
=
[
'users'
,
'api_test_data'
,
'auth_test_data'
]
apibase
=
'/api/v1.1'
def
setUp
(
self
):
...
...
invitations/tests.py
View file @
c4ddb720
...
...
@@ -37,7 +37,7 @@ from django.conf import settings
class
InvitationsTestCase
(
TestCase
):
fixtures
=
[
'users'
]
token
=
'46e427d657b20defe352804f0eb6f8a2'
def
setUp
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment