1
0
mirror of https://github.com/balkian/bitter.git synced 2025-08-30 07:12:20 +00:00

Improve CLI. Add credentials

This commit is contained in:
J. Fernando Sánchez
2018-03-20 13:29:18 +01:00
parent 6259013978
commit 5199d5b5aa
6 changed files with 264 additions and 80 deletions

View File

@@ -54,7 +54,7 @@ class TestUtils(TestCase):
toc = time.time()
assert (tic-toc) < 600
resp2 = utils.parallel(echo, [1,2,3,4], chunksize=2)
assert list(resp2) == [1,2,3,4]
assert list(resp2) == [1,2, 3,4]
class TestUtilsEnv(TestUtils):
@@ -68,5 +68,3 @@ class TestUtilsEnv(TestUtils):
def tearDown(self):
if hasattr(self, 'oldenv'):
os.environ['BITTER_CONFIG'] = self.oldenv