Пример #1
0
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
Пример #2
0
 def test_1_basic(self):
     """CLIBNA is a new diction"""
     np = parser(get_file('example.bin'))
     self.assertEquals(len(np.df.index), 50)
Пример #3
0
def real_process(buf):
    """ The real processor of the raw data, fun! """
    np = parser(BytesIO(b"NLDN" + buf))
    DBPOOL.runInteraction(np.sql)
Пример #4
0
def real_process(buf):
    """ The real processor of the raw data, fun! """
    np = parser(cStringIO.StringIO("NLDN" + buf))
    DBPOOL.runInteraction(np.sql)
Пример #5
0
def test_sql(cursor):
    """Test that we can insert data."""
    np = parser(get_test_file("NLDN/example.bin", fponly=True))
    np.sql(cursor)
Пример #6
0
 def test_1_basic(self):
     """CLIBNA is a new diction"""
     np = parser(get_file('example.bin'))
     self.assertEquals(len(np.df.index), 50)