Skip to content

Commit

Permalink
Add test for code property (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
a5kin committed May 15, 2019
1 parent 14e026d commit c3223e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/core/test_variables.py
Expand Up @@ -54,6 +54,7 @@ def test_integer(self):
"""Test ``IntegerVariable`` initialization."""
var = IntegerVariable()
self.assertEqual(str(var), "var", "Wrong variable name.")
self.assertEqual(var.code, "var", "Wrong variable name.")

def test_descriptor(self):
"""Test ``Variable`` acting as class descriptor."""
Expand Down

0 comments on commit c3223e5

Please sign in to comment.