mirror of
https://github.com/hemna/aprsd-slack-plugin.git
synced 2025-08-01 13:02:35 -04:00
cleanup
This commit is contained in:
parent
b0da9b9603
commit
1a90f75e37
@ -1,15 +1,9 @@
|
||||
import sys
|
||||
import unittest
|
||||
from unittest import mock
|
||||
|
||||
from aprsd_slack_plugin import location_plugin
|
||||
|
||||
|
||||
if sys.version_info >= (3, 2):
|
||||
from unittest import mock
|
||||
else:
|
||||
from unittest import mock
|
||||
|
||||
|
||||
class TestPlugin(unittest.TestCase):
|
||||
@mock.patch.object(location_plugin.SlackLocationPlugin, "filter")
|
||||
def test_plugin(self, mock_command):
|
||||
|
Loading…
x
Reference in New Issue
Block a user