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
864d864f
Commit
864d864f
authored
Mar 31, 2011
by
Georgios Gousios
Browse files
Test data (or, more presicely, datum)
parent
17d7bf3b
Changes
2
Hide whitespace changes
Inline
Side-by-side
auth/fixtures/auth_test_data.json
0 → 100644
View file @
864d864f
[
{
"model"
:
"db.SynnefoUser"
,
"pk"
:
1
,
"fields"
:
{
"name"
:
1
,
"credit"
:
1024
}
}
]
\ No newline at end of file
auth/tests.py
View file @
864d864f
...
...
@@ -10,7 +10,7 @@ from django.test import TestCase
from
django.test.client
import
Client
class
AuthTestCase
(
TestCase
):
fixtures
=
[
'api_test_data'
,
'auth_test_data'
]
apibase
=
'/api/v1.0'
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