Browse Source

More windows fixes

Oz N Tiram 8 years ago
parent
commit
315d7b8ec5
2 changed files with 4 additions and 2 deletions
  1. 1 2
      Makefile
  2. 3 0
      tests/test_base_ui.py

+ 1 - 2
Makefile

@@ -43,7 +43,7 @@ pre-test:
 	$(shell sudo service mysql start)
 	$(shell sudo service mongodb start)
 
-test: install clean
+test: clean install
 	python setup.py test
 	@rm -f tests/test.conf
 
@@ -75,5 +75,4 @@ dist: clean
 	ls -l dist
 
 install:
-	pip uninstall -y pwman3
 	pip install -e .

+ 3 - 0
tests/test_base_ui.py

@@ -63,6 +63,9 @@ class TestBaseUI(unittest.TestCase):
         self.tester = SetupTester(dbver, testdb)
         self.tester.create()
 
+    def tearDown(self):
+        self.tester.cli.do_exit("")
+
     def test_get_tags(self):
         sys.stdin = StringIO("foo bar baz\n")
         tags = self.tester.cli._get_tags(reader=lambda: "foo bar baz")