Skip to content

Commit

Permalink
Mark tests as xfail
Browse files Browse the repository at this point in the history
  • Loading branch information
di committed Apr 12, 2022
1 parent a1bec24 commit 4407591
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
12 changes: 8 additions & 4 deletions test/test_sign.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import pretend
import pytest

import sigstore


@pytest.mark.xfail
def test_sign():
assert sigstore.sign() == "Nothing here yet"

file_ = pretend.stub()
identity_token = pretend.stub()
output = pretend.call_recorder(lambda s: None)

def test_verify():
assert sigstore.verify() == "Nothing here yet"
assert sigstore.sign(file_, identity_token, output) == "Nothing here yet"
10 changes: 10 additions & 0 deletions test/test_verify.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import pretend
import pytest

import sigstore


@pytest.mark.xfail
def test_verify():
filename = pretend.stub()
assert sigstore.verify(filename) == "Nothing here yet"

0 comments on commit 4407591

Please sign in to comment.