コード例 #1
0
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()
コード例 #2
0
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()
コード例 #3
0
ファイル: test_muxer.py プロジェクト: giltis/dataportal
def teardown():
    fs_teardown()
    mds_teardown()
コード例 #4
0
ファイル: test_misc.py プロジェクト: giltis/dataportal
def teardown():
    mds_teardown()
    fs_teardown()
コード例 #5
0
ファイル: test_commands.py プロジェクト: CJ-Wright/filestore
def teardown():
    fs_teardown()

    del filestore.retrieve._h_registry['syn-mod']