mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
Fix equality & identity test for new Debian release
This commit is contained in:
parent
1e36cc1338
commit
334a16ee50
1 changed files with 9 additions and 2 deletions
|
@ -23,8 +23,15 @@ def test_identity():
|
|||
|
||||
|
||||
def test_not_identity():
|
||||
assert releases.wheezy is not releases.stable
|
||||
assert releases.stable is not releases.jessie
|
||||
# "==" tests equality "is" tests identity
|
||||
assert releases.stretch == releases.stable
|
||||
assert releases.stretch is not releases.stable
|
||||
|
||||
assert releases.stable is releases.stable
|
||||
assert releases.stretch is releases.stretch
|
||||
|
||||
assert releases.jessie != releases.stable
|
||||
assert releases.jessie is not releases.stable
|
||||
|
||||
|
||||
def test_alias():
|
||||
|
|
Loading…
Add table
Reference in a new issue