summaryrefslogtreecommitdiff
path: root/tests/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/__init__.py')
-rw-r--r--tests/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
new file mode 100644
index 0000000..d5565cd
--- /dev/null
+++ b/tests/__init__.py
@@ -0,0 +1,7 @@
+import aiogreen
+import unittest
+
+class TestCase(unittest.TestCase):
+ def setUp(self):
+ self.loop = aiogreen.EventLoop()
+ self.addCleanup(self.loop.close)