diff --git a/.gitignore b/.gitignore index d39e7248..8d0d9e54 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,4 @@ venv/ .coverage coverage.xml -Netbox_CSV_Read/DataFiles \ No newline at end of file +Pynetbox_Data_Uploader/DataFiles \ No newline at end of file diff --git a/Netbox_CSV_Read/Tests/test_csv_utils.py b/Pynetbox_Data_Uploader/Tests/test_csv_utils.py similarity index 100% rename from Netbox_CSV_Read/Tests/test_csv_utils.py rename to Pynetbox_Data_Uploader/Tests/test_csv_utils.py diff --git a/Netbox_CSV_Read/Tests/test_netbox_connect.py b/Pynetbox_Data_Uploader/Tests/test_netbox_connect.py similarity index 90% rename from Netbox_CSV_Read/Tests/test_netbox_connect.py rename to Pynetbox_Data_Uploader/Tests/test_netbox_connect.py index b1caaa60..993839d1 100644 --- a/Netbox_CSV_Read/Tests/test_netbox_connect.py +++ b/Pynetbox_Data_Uploader/Tests/test_netbox_connect.py @@ -1,4 +1,4 @@ -from unittest.mock import MagicMock, NonCallableMock, patch +from unittest.mock import NonCallableMock, patch from Netbox_Api.netbox_connect import NetboxConnect import pytest diff --git a/Netbox_CSV_Read/Tests/test_netbox_create.py b/Pynetbox_Data_Uploader/Tests/test_netbox_create.py similarity index 100% rename from Netbox_CSV_Read/Tests/test_netbox_create.py rename to Pynetbox_Data_Uploader/Tests/test_netbox_create.py diff --git a/Netbox_CSV_Read/Tests/test_netbox_existence.py b/Pynetbox_Data_Uploader/Tests/test_netbox_existence.py similarity index 100% rename from Netbox_CSV_Read/Tests/test_netbox_existence.py rename to Pynetbox_Data_Uploader/Tests/test_netbox_existence.py diff --git a/Netbox_CSV_Read/CSV/csv_utils.py b/Pynetbox_Data_Uploader/lib/CSV/csv_utils.py similarity index 100% rename from Netbox_CSV_Read/CSV/csv_utils.py rename to Pynetbox_Data_Uploader/lib/CSV/csv_utils.py diff --git a/Netbox_CSV_Read/CSV/format_dict.py b/Pynetbox_Data_Uploader/lib/CSV/format_dict.py similarity index 100% rename from Netbox_CSV_Read/CSV/format_dict.py rename to Pynetbox_Data_Uploader/lib/CSV/format_dict.py diff --git a/Netbox_CSV_Read/Enums/dcim_device_id.py b/Pynetbox_Data_Uploader/lib/Enums/dcim_device_id.py similarity index 100% rename from Netbox_CSV_Read/Enums/dcim_device_id.py rename to Pynetbox_Data_Uploader/lib/Enums/dcim_device_id.py diff --git a/Netbox_CSV_Read/Enums/dcim_device_no_id.py b/Pynetbox_Data_Uploader/lib/Enums/dcim_device_no_id.py similarity index 100% rename from Netbox_CSV_Read/Enums/dcim_device_no_id.py rename to Pynetbox_Data_Uploader/lib/Enums/dcim_device_no_id.py diff --git a/Netbox_CSV_Read/Netbox_Api/netbox_connect.py b/Pynetbox_Data_Uploader/lib/Netbox_Api/netbox_connect.py similarity index 100% rename from Netbox_CSV_Read/Netbox_Api/netbox_connect.py rename to Pynetbox_Data_Uploader/lib/Netbox_Api/netbox_connect.py diff --git a/Netbox_CSV_Read/Netbox_Api/netbox_create.py b/Pynetbox_Data_Uploader/lib/Netbox_Api/netbox_create.py similarity index 100% rename from Netbox_CSV_Read/Netbox_Api/netbox_create.py rename to Pynetbox_Data_Uploader/lib/Netbox_Api/netbox_create.py diff --git a/Netbox_CSV_Read/Netbox_Api/netbox_data.py b/Pynetbox_Data_Uploader/lib/Netbox_Api/netbox_data.py similarity index 100% rename from Netbox_CSV_Read/Netbox_Api/netbox_data.py rename to Pynetbox_Data_Uploader/lib/Netbox_Api/netbox_data.py diff --git a/Netbox_CSV_Read/Netbox_Api/netbox_existence.py b/Pynetbox_Data_Uploader/lib/Netbox_Api/netbox_existence.py similarity index 100% rename from Netbox_CSV_Read/Netbox_Api/netbox_existence.py rename to Pynetbox_Data_Uploader/lib/Netbox_Api/netbox_existence.py diff --git a/Pynetbox_Data_Uploader/pytest.ini b/Pynetbox_Data_Uploader/pytest.ini new file mode 100644 index 00000000..65c35ff4 --- /dev/null +++ b/Pynetbox_Data_Uploader/pytest.ini @@ -0,0 +1,5 @@ +[pytest] +pythonpath = lib +testpaths = Tests +python_files = *.py +python_functions = test_* \ No newline at end of file diff --git a/Netbox_CSV_Read/requirements.txt b/Pynetbox_Data_Uploader/requirements.txt similarity index 100% rename from Netbox_CSV_Read/requirements.txt rename to Pynetbox_Data_Uploader/requirements.txt