Correct E408 pep8 lint errors

With the changes to how to test-requirements are installed, some new
failures are showing. This patch corrects them.

Change-Id: I641b167f1b7f5bb283d73481ed6185e1ccbd8ed3
This commit is contained in:
Jesse Pretorius 2018-07-02 17:22:13 +01:00 committed by Jesse Pretorius (odyssey4me)
parent d0153ce147
commit 7d98b2cece
2 changed files with 2 additions and 4 deletions

View File

@ -16,6 +16,7 @@
import mock import mock
import os import os
from os import path from os import path
from osa_toolkit import filesystem as fs
import sys import sys
import unittest import unittest
@ -27,8 +28,6 @@ INV_DIR = 'inventory'
sys.path.append(path.join(os.getcwd(), INV_DIR)) sys.path.append(path.join(os.getcwd(), INV_DIR))
from osa_toolkit import filesystem as fs
TARGET_DIR = path.join(os.getcwd(), 'tests', 'inventory') TARGET_DIR = path.join(os.getcwd(), 'tests', 'inventory')
USER_CONFIG_FILE = path.join(TARGET_DIR, 'openstack_user_config.yml') USER_CONFIG_FILE = path.join(TARGET_DIR, 'openstack_user_config.yml')

View File

@ -14,13 +14,12 @@
import os import os
from os import path from os import path
from osa_toolkit import manage as mi
import test_inventory import test_inventory
import unittest import unittest
TARGET_DIR = path.join(os.getcwd(), 'tests', 'inventory') TARGET_DIR = path.join(os.getcwd(), 'tests', 'inventory')
from osa_toolkit import manage as mi
def setUpModule(): def setUpModule():
test_inventory.make_config() test_inventory.make_config()