Skip to content

Commit

Permalink
tests: feeling confident about feeling very confident about pytest-de…
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Apr 20, 2022
1 parent 0b2e444 commit 8040540
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_rtdc_fmt_dcor_access_token.py
@@ -1,5 +1,7 @@
import pathlib

import pytest

from dclab.rtdc_dataset import fmt_dcor
from dclab.rtdc_dataset.fmt_dcor import access_token

Expand All @@ -24,6 +26,9 @@ def test_get_hostname():
assert hostname == "dcor.example.com"


# feeling very confident about https://github.com/pytest-dev/pytest/pull/9871
@pytest.mark.xfail(pytest.version_tuple < (7, 2, 0),
reason="Requires pytest PR #9871 when run with coverage")
def test_store_and_get_certificate(tmp_path):
cert = access_token.get_certificate(
datapath / "example_access_token.dcor-access", "42")
Expand Down

0 comments on commit 8040540

Please sign in to comment.