Updates
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import pytest
|
||||
|
||||
from qrcode import util
|
||||
|
||||
|
||||
def test_check_wrong_version():
|
||||
with pytest.raises(ValueError):
|
||||
util.check_version(0)
|
||||
|
||||
with pytest.raises(ValueError):
|
||||
util.check_version(41)
|
||||
Reference in New Issue
Block a user