def test_1_basic(): """CLIBNA is a new diction""" np = parser(get_test_file('NLDN/example.bin', fponly=True)) assert len(np.df.index) == 50
def test_1_basic(self): """CLIBNA is a new diction""" np = parser(get_file('example.bin')) self.assertEquals(len(np.df.index), 50)
def real_process(buf): """ The real processor of the raw data, fun! """ np = parser(BytesIO(b"NLDN" + buf)) DBPOOL.runInteraction(np.sql)
def real_process(buf): """ The real processor of the raw data, fun! """ np = parser(cStringIO.StringIO("NLDN" + buf)) DBPOOL.runInteraction(np.sql)
def test_sql(cursor): """Test that we can insert data.""" np = parser(get_test_file("NLDN/example.bin", fponly=True)) np.sql(cursor)