Selaa lähdekoodia

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
tags/4.0.0
Luka Peschke 4 kuukautta sitten
vanhempi
commit
584046761a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      cloudkittyclient/tests/functional/v2/test_dataframes.py

+ 1
- 1
cloudkittyclient/tests/functional/v2/test_dataframes.py Näytä tiedosto

@@ -139,7 +139,7 @@ class CkDataframesTest(base.BaseFunctionalTest):
def test_dataframes_add_with_no_args(self):
self.assertRaisesRegexp(
RuntimeError,
'error: too few arguments',
'error: the following arguments are required: datafile',
self.runner,
'dataframes add',
fmt='',


Loading…
Peruuta
Tallenna