Browse Source

class to be filled with tests lateron

Roey Regev 6 years ago
parent
commit
4362cab9d3
1 changed files with 15 additions and 0 deletions
  1. 15 0
      code/Test/test_pyparsing_functionality.py

+ 15 - 0
code/Test/test_pyparsing_functionality.py

@@ -0,0 +1,15 @@
+import unittest
+
+from definitions import ROOT_DIR
+import Core.Controller as Ctrl
+
+pcap = ROOT_DIR + "/../resources/test/reference_1998.pcap"
+
+controller = Ctrl.Controller(pcap_file_path=pcap, do_extra_tests=False, non_verbose=False)
+controller.load_pcap_statistics(flag_write_file=False, flag_recalculate_stats=True, flag_print_statistics=False)
+
+
+class UnitTestPyparsing(unittest.TestCase):
+    def test_nested_query(self):
+        self.assertEqual(1,1)
+        #TODO Write tests