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/functional/base.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/functional/base.py')
| -rw-r--r-- | ironic_python_agent/tests/functional/base.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ironic_python_agent/tests/functional/base.py b/ironic_python_agent/tests/functional/base.py index 930949fa..d57e3d46 100644 --- a/ironic_python_agent/tests/functional/base.py +++ b/ironic_python_agent/tests/functional/base.py @@ -33,9 +33,9 @@ class FunctionalBase(test_base.BaseTestCase): # Build a basic standalone agent using the config option defaults. # 127.0.0.1:6835 is the fake Ironic client. self.agent = agent.IronicPythonAgent( - 'http://127.0.0.1:6835', 'localhost', ('0.0.0.0', - int(test_port)), 3, 10, None, 300, 1, - 'agent_ipmitool', True) + 'http://127.0.0.1:6835', 'localhost', + ('0.0.0.0', int(test_port)), 3, 10, None, 300, 1, 'agent_ipmitool', + True) self.process = multiprocessing.Process( target=self.agent.run) self.process.start() @@ -46,8 +46,8 @@ class FunctionalBase(test_base.BaseTestCase): max_tries = os.environ.get('IPA_WAIT_TIME', '2') while tries < int(max_tries): try: - return requests.get('http://localhost:%s/v1/commands' % - test_port) + return requests.get( + 'http://localhost:%s/v1/commands' % test_port) except requests.ConnectionError: time.sleep(.1) tries += 1 |
