Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
37acea52
Commit
37acea52
authored
Dec 21, 2012
by
Tom Christie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up test url model now filename has changed
parent
83feda6a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rest_framework/tests/relations_hyperlink.py
+3
-3
No files found.
rest_framework/tests/relations_hyperlink.py
View file @
37acea52
...
@@ -78,7 +78,7 @@ class NullableForeignKeySourceSerializer(serializers.HyperlinkedModelSerializer)
...
@@ -78,7 +78,7 @@ class NullableForeignKeySourceSerializer(serializers.HyperlinkedModelSerializer)
# TODO: Add test that .data cannot be accessed prior to .is_valid
# TODO: Add test that .data cannot be accessed prior to .is_valid
class
HyperlinkedManyToManyTests
(
TestCase
):
class
HyperlinkedManyToManyTests
(
TestCase
):
urls
=
'rest_framework.tests.
hyperlink_relations
'
urls
=
'rest_framework.tests.
relations_hyperlink
'
def
setUp
(
self
):
def
setUp
(
self
):
for
idx
in
range
(
1
,
4
):
for
idx
in
range
(
1
,
4
):
...
@@ -186,7 +186,7 @@ class HyperlinkedManyToManyTests(TestCase):
...
@@ -186,7 +186,7 @@ class HyperlinkedManyToManyTests(TestCase):
class
HyperlinkedForeignKeyTests
(
TestCase
):
class
HyperlinkedForeignKeyTests
(
TestCase
):
urls
=
'rest_framework.tests.
hyperlink_relations
'
urls
=
'rest_framework.tests.
relations_hyperlink
'
def
setUp
(
self
):
def
setUp
(
self
):
target
=
ForeignKeyTarget
(
name
=
'target-1'
)
target
=
ForeignKeyTarget
(
name
=
'target-1'
)
...
@@ -243,7 +243,7 @@ class HyperlinkedForeignKeyTests(TestCase):
...
@@ -243,7 +243,7 @@ class HyperlinkedForeignKeyTests(TestCase):
class
HyperlinkedNullableForeignKeyTests
(
TestCase
):
class
HyperlinkedNullableForeignKeyTests
(
TestCase
):
urls
=
'rest_framework.tests.
hyperlink_relations
'
urls
=
'rest_framework.tests.
relations_hyperlink
'
def
setUp
(
self
):
def
setUp
(
self
):
target
=
ForeignKeyTarget
(
name
=
'target-1'
)
target
=
ForeignKeyTarget
(
name
=
'target-1'
)
...
...
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