mirror of
https://github.com/craigerl/aprsd.git
synced 2026-06-12 19:08:45 -04:00
Changed to ruff
This patch changes to the ruff linter. SO MUCH quicker. Removed grey and mypy as well.
This commit is contained in:
@@ -1,19 +1,17 @@
|
||||
from unittest import mock
|
||||
|
||||
from oslo_config import cfg
|
||||
import pytz
|
||||
from oslo_config import cfg
|
||||
|
||||
from aprsd.plugins import time as time_plugin
|
||||
from aprsd.utils import fuzzy
|
||||
|
||||
from .. import fake, test_plugin
|
||||
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
class TestTimePlugins(test_plugin.TestPlugin):
|
||||
|
||||
@mock.patch("aprsd.plugins.time.TimePlugin._get_local_tz")
|
||||
@mock.patch("aprsd.plugins.time.TimePlugin._get_utcnow")
|
||||
def test_time(self, mock_utcnow, mock_localtz):
|
||||
|
||||
Reference in New Issue
Block a user