misc: PytestUnknownMarkWarning pytest.mark.freeze_time (#39438)
PytestUnknownMarkWarning: Unknown pytest.mark.freeze_time - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
This commit is contained in:
parent
11882c5810
commit
8e7e745f5d
|
@ -284,8 +284,8 @@ def test_notification_id_and_origin(john_doe):
|
|||
|
||||
|
||||
@mock.patch('combo.utils.requests_wrapper.RequestsSession.request')
|
||||
@pytest.mark.freeze_time('2016-01-02')
|
||||
def test_notify_remote_items(mock_get, app, john_doe, jane_doe, regie, monkeypatch, freezer):
|
||||
freezer.move_to('2016-01-02')
|
||||
datetime_format = '%Y-%m-%dT%H:%M:%S'
|
||||
invoice_now = now()
|
||||
invoice_now = freezer()
|
||||
|
|
Loading…
Reference in New Issue