Skip to content

Commit

Permalink
MAINT: Import changes. + Docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
khalford committed Oct 20, 2023
1 parent c32ee69 commit 76baab6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Pynetbox_Data_Uploader/tests/test_csv_to_dict.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from unittest.mock import NonCallableMock, patch, MagicMock
import pytest
from lib.utils.format_dict import FormatDict


Expand Down
2 changes: 1 addition & 1 deletion Pynetbox_Data_Uploader/tests/test_netbox_check.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from unittest.mock import MagicMock, NonCallableMock
import pytest
from lib.netbox_api.netbox_check import NetboxCheck


Expand Down
6 changes: 5 additions & 1 deletion Pynetbox_Data_Uploader/tests/test_netbox_connect.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import pytest
from unittest.mock import NonCallableMock, patch
import pytest
from lib.netbox_api.netbox_connect import NetboxConnect


@pytest.fixture(name="instance")
def instance_fixture():
"""
This fixture method calls the class being tested.
:return: The class object.
"""
url = NonCallableMock()
token = NonCallableMock()
return NetboxConnect(url, token)
Expand Down
2 changes: 1 addition & 1 deletion Pynetbox_Data_Uploader/tests/test_netbox_create.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from unittest.mock import MagicMock, NonCallableMock
import pytest
from lib.netbox_api.netbox_create import NetboxCreate


Expand Down
2 changes: 1 addition & 1 deletion Pynetbox_Data_Uploader/tests/test_netbox_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from unittest.mock import NonCallableMock
import pytest
from lib.netbox_api.netbox_data import NetboxGetID


Expand Down

0 comments on commit 76baab6

Please sign in to comment.