Skip to content
This repository was archived by the owner on Jun 27, 2018. It is now read-only.

Commit d737d34

Browse files
committed
tiny bug fixes
1 parent 9b0363a commit d737d34

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pyretic/tests/test_bucket.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ def bucket_get_tshark_counts(t_outfile, tshark_filter_funs):
106106
tshark_filter_count(t_outfile, f))])
107107
return tshark_counts
108108

109+
def path_query_get_tshark_counts(t_outfile, tshark_filter_funs):
110+
pass
111+
109112
def tshark_filter_count(t_outfile, filter_fun):
110113
global ints_map
111114
t_out = open(t_outfile, 'r')
@@ -276,9 +279,9 @@ def close_fds(fds, fd_str):
276279

277280
def write_passfail_info(success_file, tshark_counts, buckets_counts, ctlr):
278281
if ctlr == 'bucket':
279-
bucket_write_passfail_info()
282+
bucket_write_passfail_info(success_file, tshark_counts, buckets_counts)
280283
elif ctlr == 'path_query':
281-
path_query_write_passfail_info()
284+
path_query_write_passfail_info(success_file, tshark_counts, buckets_counts)
282285
else:
283286
raise RuntimeError('unknown controller!')
284287

0 commit comments

Comments
 (0)