diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/test_authorization.py b/tests/test_authorization.py index 97f32d80..f72bc944 100644 --- a/tests/test_authorization.py +++ b/tests/test_authorization.py @@ -8,11 +8,11 @@ import os import sys #Import our sibling src folder into the path -sys.path.append(os.path.abspath('../src')) +sys.path.append(os.path.abspath('src')) # Classes to test - manually imported from our sibling folder -import falconpy.api_complete as FalconSDK -import falconpy.oauth2 as FalconAuth -import falconpy.cloud_connect_aws as FalconAWS +from falconpy import api_complete as FalconSDK +from falconpy import oauth2 as FalconAuth + # The TestAuthorization class tests authentication and deauthentication # for both the Uber and Service classes. diff --git a/tests/test_cloud_connect_aws.py b/tests/test_cloud_connect_aws.py index f6f3bd18..5da75f8d 100644 --- a/tests/test_cloud_connect_aws.py +++ b/tests/test_cloud_connect_aws.py @@ -8,12 +8,12 @@ import os import sys # Authentication via the test_authorization.py -import test_authorization as Authorization +from tests import test_authorization as Authorization #Import our sibling src folder into the path -sys.path.append(os.path.abspath('../src')) +sys.path.append(os.path.abspath('src')) # Classes to test - manually imported from sibling folder -import falconpy.cloud_connect_aws as FalconAWS +from falconpy import cloud_connect_aws as FalconAWS # The TestCloudConnectAWS class tests the cloud_connect_aws service class