Commit a3c9c616 authored by Łukasz Nowak's avatar Łukasz Nowak

Tests will be done against real server.

parent ac25bf0c
...@@ -18,7 +18,7 @@ class OfflineTest(unittest.TestCase): ...@@ -18,7 +18,7 @@ class OfflineTest(unittest.TestCase):
self.assertRaises(IOError, nc.upload, content) self.assertRaises(IOError, nc.upload, content)
class OnlineTest(unittest.TestCase): class OnlineTest(unittest.TestCase):
"""Online tests against real (or simulated?) HTTP server""" """Online tests against real HTTP server"""
def setUp(self): def setUp(self):
self.shacache = os.environ.get('TEST_SHA_CACHE', 'http://127.0.0.1:8080') self.shacache = os.environ.get('TEST_SHA_CACHE', 'http://127.0.0.1:8080')
self.shadir = os.environ.get('TEST_SHA_DIR', 'http://127.0.0.1:8080') self.shadir = os.environ.get('TEST_SHA_DIR', 'http://127.0.0.1:8080')
......
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