|
@@ -25,10 +25,6 @@ class UnitTestPyparsing(unittest.TestCase):
|
|
|
query = "Select ipAddress from ip_statistics where ipaddress = 'abc'"
|
|
|
self.assertEqual([], controller.statistics.stats_db.process_db_query(query))
|
|
|
|
|
|
- def in_on_one_op(self):
|
|
|
- query = "Select ipAddress from ip_statistics where pktsSent in [5]"
|
|
|
- self.assertEqual("72.247.178.67", controller.statistics.stats_db.process_db_query(query))
|
|
|
-
|
|
|
def test_severaloperator(self):
|
|
|
query1 = "Select ipAddress from ip_Statistics where pktsSent = '5'"
|
|
|
query2 = "Select ipAddress from ip_Statistics where pktsSent < '5'"
|