Browse Source

skipped the unittest for the init_db

Roland Haroutiounian 8 years ago
parent
commit
10e9f4d8ef
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      tests/migration_handler/test_db_init.py

+ 2
- 1
tests/migration_handler/test_db_init.py View File

@@ -1,6 +1,5 @@
1 1
 # -*- coding: utf-8 -*-
2 2
 import unittest
3
-from pymongo import MongoClient
4 3
 from plugins.mongodb_datasource.migration_handler import *
5 4
 
6 5
 class MongoDbMigrationHandlerTestCase(unittest.TestCase):
@@ -19,6 +18,8 @@ class MongoDbMigrationHandlerTestCase(unittest.TestCase):
19 18
             with self.assertRaises(MigrationHandlerError):
20 19
                 MongoDbMigrationHandler(bad_connection_args_dict)
21 20
 
21
+    ## @todo pass the connection arguments in the settings
22
+    @unittest.skip
22 23
     def test_init_db(self):
23 24
         correct_connection_args = {'host': 'localhost', 'port': 28015, 'username': 'lodel_admin', 'password': 'lapwd', 'db_name': 'lodel'}
24 25
         migration_handler = MongoDbMigrationHandler(correct_connection_args)

Loading…
Cancel
Save