Skip to content

Commit 5840467

Browse files
committed
Adapt functional tests to python3
A test looking for a regex in an argparse error message is failing when ran on python3. Since this is now the default python runtime for devstack-based jobs, this updates the message. Change-Id: Id3372998715f13f7641d11a4a1d9d16629acfd18 Story: 2006896 Task: 37530
1 parent be0a986 commit 5840467

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cloudkittyclient/tests/functional/v2/test_dataframes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def tearDown(self):
139139
def test_dataframes_add_with_no_args(self):
140140
self.assertRaisesRegexp(
141141
RuntimeError,
142-
'error: too few arguments',
142+
'error: the following arguments are required: datafile',
143143
self.runner,
144144
'dataframes add',
145145
fmt='',

0 commit comments

Comments
 (0)