Commit 921ae014 authored by Łukasz Nowak's avatar Łukasz Nowak

Stubs for more tests.

parent 62ccfce2
......@@ -33,6 +33,18 @@ class OnlineTest(unittest.TestCase):
nc = NetworkcacheClient(self.shacache, self.shadir)
nc.upload(self.test_data)
def test_upload_wrong_return_code(self):
"""Check reaction on HTTP return code different then 201"""
raise NotImplementedError
def test_upload_wrong_return_sha(self):
"""Check reaction in case of wrong sha returned"""
raise NotImplementedError
def test_upload_shadir(self):
"""Check scenario with shadir used"""
raise NotImplementedError
def test_upload_twice_same(self):
nc = NetworkcacheClient(self.shacache, self.shadir)
nc.upload(self.test_data)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment