зеркало из https://github.com/mozilla/glean.git
Python: Assert that we got the right ping.
This commit is contained in:
Родитель
ac70c112ce
Коммит
04384e44bd
|
@ -208,6 +208,9 @@ def test_log_on_success(safe_httpserver, capfd):
|
|||
|
||||
assert 1 == len(safe_httpserver.requests)
|
||||
|
||||
request = safe_httpserver.requests[0]
|
||||
assert "/data/path/" == request.path
|
||||
|
||||
captured = capfd.readouterr()
|
||||
|
||||
assert "successfully sent 200" in str(captured.err)
|
||||
|
|
Загрузка…
Ссылка в новой задаче