Removed "from wrpylib.wrmwmarkup import *" in test_wrmwmarkup.py
[philipp/winterrodeln/wrpylib.git] / tests / test_wrmwcache.py
1 #!/usr/bin/python3.4
2 from sqlalchemy.engine import create_engine
3 from wrpylib import wrmwcache
4 import unittest
5
6
7 class TestWrMwCache(unittest.TestCase):
8     def setUp(self):
9         self.engine = create_engine('mysql://philipp@localhost:3306/philipp_winterrodeln_wiki?charset=utf8&use_unicode=1')
10         self.connection = self.engine.connect()
11
12     def tearDown(self):
13         self.connection.close()
14
15     def test_update_wrsledruncache(self):
16         wrmwcache.update_wrsledruncache(self.connection)
17
18     def test_update_wrinncache(self):
19         wrmwcache.update_wrinncache(self.connection)
20
21     def test_update_wrreportcache(self):
22         wrmwcache.update_wrreportcache(self.connection)
23
24     def test_update_wrmapcache(self):
25         wrmwcache.update_wrmapcache(self.connection)
26
27     def test_update_wrregioncache(self):
28         wrmwcache.update_wrregioncache(self.connection)