8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 327c3ea commit 40fd309Copy full SHA for 40fd309
section4/video_code/tests/system/item_test.py
@@ -80,15 +80,6 @@ def test_put_item(self):
80
self.assertDictEqual(d1={'name': 'test', 'price': 17.99},
81
d2=json.loads(r.data))
82
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
92
def test_put_update_item(self):
93
with self.app() as c:
94
with self.app_context():
0 commit comments