diff options
| author | John L. Villalovos <john.l.villalovos@intel.com> | 2015-10-02 10:01:00 -0700 |
|---|---|---|
| committer | John L. Villalovos <john.l.villalovos@intel.com> | 2015-10-02 10:01:00 -0700 |
| commit | dcbba2b121da1525feff162aca17a8cc4adf55d6 (patch) | |
| tree | 8e9c4c4c2a332adbbdd00ed80a3d40553c61e242 /ironic_python_agent/tests/unit/test_utils.py | |
| parent | 0144e79df5dab0837a55a981fa23298908af14cf (diff) | |
| download | ironic-python-agent-dcbba2b121da1525feff162aca17a8cc4adf55d6.tar.gz | |
Enforce all flake8 rules except E129
Bring ironic-python-agent in line with the other ironic projects.
Stop ignoring all E12* errors except E129
Stop ignoring E711
Change-Id: Icb9bc198473d1b5e807c20869eb2af7f4d7ac360
Diffstat (limited to 'ironic_python_agent/tests/unit/test_utils.py')
| -rw-r--r-- | ironic_python_agent/tests/unit/test_utils.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ironic_python_agent/tests/unit/test_utils.py b/ironic_python_agent/tests/unit/test_utils.py index 849945b9..cb36f160 100644 --- a/ironic_python_agent/tests/unit/test_utils.py +++ b/ironic_python_agent/tests/unit/test_utils.py @@ -80,12 +80,11 @@ exit 1 fp = open(tmpfilename2, 'r') runs = fp.read() fp.close() - self.assertNotEqual(runs.strip(), 'failure', 'stdin did not ' - 'always get passed ' - 'correctly') + self.assertNotEqual(runs.strip(), 'failure', + 'stdin did not always get passed correctly') runs = int(runs.strip()) self.assertEqual(10, runs, - 'Ran %d times instead of 10.' % (runs,)) + 'Ran %d times instead of 10.' % (runs,)) finally: os.unlink(tmpfilename) os.unlink(tmpfilename2) |
