mirror of
https://github.com/hemna/aprsd-slack-plugin.git
synced 2026-06-06 16:05:00 -04:00
cleanup
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user