projects
/
kamaki
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45e7151
)
Fix utils unit test
author
Stavros Sachtouris
<saxtouri@admin.grnet.gr>
Tue, 8 Oct 2013 14:17:34 +0000
(17:17 +0300)
committer
Stavros Sachtouris
<saxtouri@admin.grnet.gr>
Tue, 8 Oct 2013 14:17:34 +0000
(17:17 +0300)
kamaki/cli/utils/test.py
patch
|
blob
|
history
diff --git
a/kamaki/cli/utils/test.py
b/kamaki/cli/utils/test.py
index
75a06d6
..
8c70f2e
100644
(file)
--- a/
kamaki/cli/utils/test.py
+++ b/
kamaki/cli/utils/test.py
@@
-239,6
+239,8
@@
class UtilsMethods(TestCase):
bold.mock_calls[bold_counter], call(header))
self.assertEqual(out.read(5), 'bold\n')
bold_counter += 1
+ else:
+ out.read(1)
self.assertEqual(
PD.mock_calls[pd_counter],
call(item, indent=INDENT_TAB, out=out))