Skip to content

Commit 0508efb

Browse files
committed
fixup
1 parent 7e68264 commit 0508efb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_relations_hyperlink_appname.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class TestHyperlinkedRouterNoName(URLPatternsTestCase, TestCase):
4141
]
4242

4343
def test_no_name_works(self):
44-
w = Wine(title="Shiraz", b_code='B1234')
44+
w = Wine(title="Shiraz")
4545
w.save()
4646

4747
response = self.client.get('/api/wines/')
@@ -56,7 +56,7 @@ class TestHyperlinkedRouterFailsWithName(URLPatternsTestCase, TestCase):
5656
]
5757

5858
def test_hyperlink_fails(self):
59-
w = Wine(title="Shiraz", b_code='B1234')
59+
w = Wine(title="Shiraz")
6060
w.save()
6161

6262
with pytest.raises(
@@ -78,7 +78,7 @@ class TestHyperlinkedRouterConfigured(URLPatternsTestCase, TestCase):
7878
]
7979

8080
def test_regex_url_path_list(self):
81-
w = Wine(title="Shiraz", b_code='B1234')
81+
w = Wine(title="Shiraz")
8282
w.save()
8383

8484
response = self.client.get('/api2/wines/')

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy