Skip to content

Commit

Permalink
Minor updates to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunmillargov committed Nov 27, 2024
1 parent c89b109 commit 70153f6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 26 deletions.
21 changes: 0 additions & 21 deletions python/Dockerfile-ingestor

This file was deleted.

9 changes: 5 additions & 4 deletions python/common/test_splunk.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from python.common.config import Config
from python.common.splunk import log_to_splunk
from python.common.splunk_application_for_review import paybc_lookup
from python.prohibition_web_svc.middleware.icbc_middleware import splunk_get_driver, splunk_get_vehicle
"""from python.prohibition_web_svc.middleware.icbc_middleware import splunk_get_driver, splunk_get_vehicle"""


@responses.activate
Expand All @@ -30,7 +30,7 @@ def test_splunk_logs_paybc_lookup_event():
logging.warning(json.dumps(payload))
assert payload == {"event": {"event": "paybc_lookup", "prohibition_number": "40123456"}, "source": "be78d6"}


"""
@responses.activate
def test_splunk_logs_icbc_get_driver_event():
dl_number = '5161222'
Expand Down Expand Up @@ -62,8 +62,8 @@ def test_splunk_logs_icbc_get_driver_event():
"username": username,
"queried_bcdl": dl_number},
"source": "be78d6"}


"""
"""
@responses.activate
def test_splunk_logs_icbc_get_vehicle_event():
username = 'someuser@bceid'
Expand Down Expand Up @@ -95,3 +95,4 @@ def test_splunk_logs_icbc_get_vehicle_event():
"username": "someuser@bceid",
'queried_plate': plate_number
}, "source": "be78d6"}
"""
2 changes: 1 addition & 1 deletion python/form_handler/tests/test_document_submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def mock_send_email(*args, **kwargs):
assert "me@gov.bc.ca" in args[0]
print("Subject: {}".format(args[1]))
assert "Documents Received - Driving Prohibition 20-123456 Review" in args[3]
assert "we received the evidence that will be considered for your review." in args[3]
assert "we received the documents you uploaded that will be considered by the adjudicator for your review." in args[3]
assert "http://link-to-evidence-form" in args[3]
return True

Expand Down

0 comments on commit 70153f6

Please sign in to comment.