Avoid to run pyDAL adapters tests on appveyor
This commit is contained in:
@@ -104,11 +104,15 @@ class TestDALAdapters(unittest.TestCase):
|
|||||||
return unittest.TextTestRunner(verbosity=2).run(suite)
|
return unittest.TextTestRunner(verbosity=2).run(suite)
|
||||||
|
|
||||||
def test_mysql(self):
|
def test_mysql(self):
|
||||||
|
if os.environ.get('APPVEYOR'):
|
||||||
|
return
|
||||||
os.environ["DB"] = "mysql://root:@localhost/pydal"
|
os.environ["DB"] = "mysql://root:@localhost/pydal"
|
||||||
result = self._run_tests()
|
result = self._run_tests()
|
||||||
self.assertTrue(result)
|
self.assertTrue(result)
|
||||||
|
|
||||||
def test_pg8000(self):
|
def test_pg8000(self):
|
||||||
|
if os.environ.get('APPVEYOR'):
|
||||||
|
return
|
||||||
os.environ["DB"] = "postgres:pg8000://postgres:@localhost/pydal"
|
os.environ["DB"] = "postgres:pg8000://postgres:@localhost/pydal"
|
||||||
result = self._run_tests()
|
result = self._run_tests()
|
||||||
self.assertTrue(result)
|
self.assertTrue(result)
|
||||||
|
|||||||
Reference in New Issue
Block a user