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:
df0e320
)
fixing test case run error
20/313020/1
author
wang biao
<biao716.wang@samsung.com>
Tue, 18 Jun 2024 09:08:55 +0000
(17:08 +0800)
committer
wang biao
<biao716.wang@samsung.com>
Tue, 18 Jun 2024 09:08:55 +0000
(17:08 +0800)
Change-Id: I58c96f9cf263c0ce4ced3dd3b645c143463ddc54
Signed-off-by: wang biao <biao716.wang@samsung.com>
tests/test_import.py
patch
|
blob
|
history
diff --git
a/tests/test_import.py
b/tests/test_import.py
index e2c88f60b103824cb0793ba8ddde7d95807d5175..af5ee812f2551e2b0e2e0c207d4b641a77ab579f 100644
(file)
--- a/
tests/test_import.py
+++ b/
tests/test_import.py
@@
-158,6
+158,7
@@
class TestImport(unittest.TestCase):
except SystemExit as err:
self.assertEqual(err.code, 0)
+ @raises(GbsError)
def test_missing_argument_neg1(self):
"""Test exit by sys.exit(2) by argparse module when running gbs without any arguments."""
try: