Skip to content

Commit

Permalink
update gitignore and tests move bin to patch folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ChromaticPanic committed Nov 19, 2024
1 parent 7f387ed commit a795324
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,12 @@
*.pyc
.vscode/settings.json
output.*

bin/
lib64/
lib64
**/*pyvenv.cfg
share/
lib/
include/
__pycache__/
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/test_inference_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def tearDown(self) -> None:
self.image_src = None
self.test = None

@patch("bin.bin_azure_storage_api.mount_container") # TODO : change to patch the mount_container function of the datastore repo
@patch("patch.bin_azure_storage_api.mount_container") # TODO : change to patch the mount_container function of the datastore repo
def test_inference_request_successful(self, mock_container):
# Mock azure client services
mock_blob = Mock()
Expand Down Expand Up @@ -100,7 +100,7 @@ def test_inference_request_successful(self, mock_container):
print(expected_keys == responses)
self.assertEqual(responses, expected_keys)

@patch("bin.bin_azure_storage_api.mount_container") # TODO : change to patch the mount_container function of the datastore repo
@patch("patch.bin_azure_storage_api.mount_container") # TODO : change to patch the mount_container function of the datastore repo
def test_inference_request_unsuccessful(self, mock_container):
# Mock azure client services
mock_blob = Mock()
Expand Down

0 comments on commit a795324

Please sign in to comment.