Skip to content

Instantly share code, notes, and snippets.

@rouge8
Created September 21, 2015 04:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rouge8/8f6e120c3edee4ab115b to your computer and use it in GitHub Desktop.
Save rouge8/8f6e120c3edee4ab115b to your computer and use it in GitHub Desktop.
import pytest
@pytest.mark.parametrize('val', [
b'\xac\x10\x02G',
b'\xfe\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xde\xad\xbe\xef',
b'\x7f\x00\x00\x01',
])
def test_fail(val):
assert False
[tox]
envlist = py27,py35
skipsdist = true
[testenv]
deps =
pytest
commands =
py.test -v --strict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment