Skip to content

Commit

Permalink
Fixing arg errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Dozgulbas committed Jun 13, 2024
1 parent c3b867a commit 6c82eb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Base module tests."""

import unittest
from unittest.mock import patch


class TestModule_Base(unittest.TestCase):
Expand All @@ -12,6 +13,7 @@ class TestModule_Base(unittest.TestCase):
class TestImports(TestModule_Base):
"""Test the imports of the module are working correctly"""

@patch("sys.argv", ["test", "--ur_ip", "127.0.0.1"])
def test_driver_import(self):
"""Test the driver and rest node imports"""
import ur_driver
Expand Down

0 comments on commit 6c82eb8

Please sign in to comment.