#NEWLINE# def test_interactive_dshape_works( bank , mongo_host_port ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# d = data ( 'mongodb://{}:{}/test_db::bank' . format ( * mongo_host_port ) ) #NEWLINE# #UNINDENT# except pymongo . errors . ConnectionFailure : #NEWLINE# #INDENT# pytest . skip ( 'No mongo server running' ) #NEWLINE# #UNINDENT# assert ( dshape ( d . dshape . measure ) == dshape ( '{amount: int64, name: string}' ) )