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:
Lauréline Guérin 2020-01-31 11:54:25 +01:00
parent 11882c5810
commit 8e7e745f5d
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 1 additions and 1 deletions

View File

@ -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()