3 # ARVADOS_API_TOKEN=abc ARVADOS_API_HOST=arvados.local python -m unittest discover
9 class KeepRWTest(unittest.TestCase):
12 del os.environ['KEEP_LOCAL_STORE']
16 foo_locator = arvados.Keep.put('foo')
17 self.assertEqual(foo_locator,
18 'acbd18db4cc2f85cedef654fccc4a4d8+3',
19 'wrong md5 hash from Keep.put("foo"): ' + foo_locator)
20 self.assertEqual(arvados.Keep.get(foo_locator),
22 'wrong content from Keep.get(md5("foo"))')