projects
/
tools
/
gbs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b00223b
)
Modify unit test case 'test_new_changes' in 'tests/test_changelog'
author
Rong Jinhui
<jinhui.rong@samsung.com>
Mon, 12 Oct 2015 08:00:48 +0000
(16:00 +0800)
committer
SoonKyu Park
<sk7.park@samsung.com>
Sat, 11 Jun 2016 05:29:12 +0000
(14:29 +0900)
file to adapt CentOS_6.
Change-Id: Ib3833b98001a059a16b247e7c29a3726634f0dc3
Signed-off-by: Rong Jinhui <jinhui.rong@samsung.com>
tests/test_changelog.py
patch
|
blob
|
history
diff --git
a/tests/test_changelog.py
b/tests/test_changelog.py
index
ea97063
..
e42da63
100644
(file)
--- a/
tests/test_changelog.py
+++ b/
tests/test_changelog.py
@@
-106,8
+106,9
@@
class TestChangelog(unittest.TestCase):
def test_new_changes(self):
"""Test generating new .changes."""
- with assert_raises(GbsError):
- eq_(GBS(argv=["gbs", "changelog"]), None)
+ assert_raises(GbsError, GBS, argv=["gbs", "changelog"])
+ #with assert_raises(GbsError):
+ # eq_(GBS(argv=["gbs", "changelog"]), None)
ok_(not os.path.exists(self.changes))
eq_(GBS(argv=["gbs", "changelog", "--since=HEAD~2"]), None)