Skip to content

Commit

Permalink
use the new unittest.mock from standard library
Browse files Browse the repository at this point in the history
  • Loading branch information
a-detiste committed Oct 11, 2024
1 parent d1dc263 commit bc6473a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install python3-requests python3-stevedore python3-prettytable python3-serial python3-flask python3-pytest python3-mock
sudo apt-get install python3-requests python3-stevedore python3-prettytable python3-serial python3-flask python3-pytest
pytest-3 tests
2 changes: 1 addition & 1 deletion tests/test_controller.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import io
import logging
import unittest
import mock
import tempfile
from unittest import mock

from nx584 import controller

Expand Down
2 changes: 1 addition & 1 deletion tests/test_event_queue.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import unittest
import mock
from unittest import mock

from nx584 import event_queue

Expand Down

0 comments on commit bc6473a

Please sign in to comment.