def test_connect_fs_mongodb(): raise KnownFailureTest # FS does not have fancy connection_config that MDS does # Once it is caught up, this will be pass. try: import filestore except ImportError: raise nose.SkipTest from filestore.utils.testing import fs_setup, fs_teardown try: fs_setup() connect_fs_mongodb() except: raise finally: fs_teardown()
def teardown(): fs_teardown() mds_teardown()
def teardown(): mds_teardown() fs_teardown()
def teardown(): fs_teardown() del filestore.retrieve._h_registry['syn-mod']