8000 Remove duplicate test. · sakethapple/testing-python-apps@40fd309 · GitHub
[go: up one dir, main page]

Skip to content

Commit 40fd309

Browse files
committed
Remove duplicate test.
1 parent 327c3ea commit 40fd309

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

section4/video_code/tests/system/item_test.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,6 @@ def test_put_item(self):
8080
self.assertDictEqual(d1={'name': 'test', 'price': 17.99},
8181
d2=json.loads(r.data))
8282

83-
def test_put_duplicate_item(self):
84-
with self.app() as c:
85-
with self.app_context():
86-
StoreModel('test').save_to_db()
87-
c.put('/item/test', data={'price': 17.99, 'store_id': 1})
88-
r = c.put('/item/test', data={'price': 17.99, 'store_id': 1})
89-
90-
self.assertEqual(r.status_code, 200)
91-
9283
def test_put_update_item(self):
9384
with self.app() as c:
9485
with self.app_context():

0 commit comments

Comments
 (0)
0