Example #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
Example #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)
Example #3
0
def real_process(buf):
    """ The real processor of the raw data, fun! """
    np = parser(BytesIO(b"NLDN" + buf))
    DBPOOL.runInteraction(np.sql)
Example #4
0
def real_process(buf):
    """ The real processor of the raw data, fun! """
    np = parser(cStringIO.StringIO("NLDN" + buf))
    DBPOOL.runInteraction(np.sql)
Example #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)
Example #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)