Skip to content

Commit

Permalink
Merge pull request #1 from dagardner-nv/david-phishing-updates
Browse files Browse the repository at this point in the history
Update mock test data to reflect updates to the input data
  • Loading branch information
raykallen authored Nov 16, 2022
2 parents 9f704ea + 63d89d2 commit b90289c
Show file tree
Hide file tree
Showing 38 changed files with 79 additions and 70 deletions.
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
4 changes: 2 additions & 2 deletions tests/test_phishing.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def async_infer(callback=None, **k):

pipe.run()
results = calc_error_val(results_file_name)
assert results.diff_rows == 774
assert results.diff_rows == 198


@pytest.mark.slow
Expand Down Expand Up @@ -150,4 +150,4 @@ def test_email_cpp(config, tmp_path):

pipe.run()
results = calc_error_val(results_file_name)
assert results.diff_rows == 230
assert results.diff_rows == 757
4 changes: 2 additions & 2 deletions tests/test_phishing_kafka.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def async_infer(callback=None, **k):

results = compare_df(val_df, output_df, exclude_columns=[r'^ID$', r'^_ts_'], rel_tol=0.05)

assert results['diff_rows'] == 774
assert results['diff_rows'] == 198


@pytest.mark.kafka
Expand Down Expand Up @@ -208,4 +208,4 @@ def test_email_cpp(config,

results = compare_df(val_df, output_df, exclude_columns=[r'^ID$', r'^_ts_'], rel_tol=0.05)

assert results['diff_rows'] == 230
assert results['diff_rows'] == 757
4 changes: 2 additions & 2 deletions tests/tests_data/triton_phishing_inf_results.csv
Git LFS file not shown

0 comments on commit b90289c

Please sign in to comment.