Skip to content

Commit

Permalink
Revert "Disable test_var_prop test temporarily"
Browse files Browse the repository at this point in the history
This reverts commit 41acf9d.
  • Loading branch information
fdabrandao committed Aug 26, 2023
1 parent 99cb134 commit 164acc8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions amplpy/tests/test_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
class TestProperties(TestBase.TestBase):
"""Test Properties."""

# def test_var_prop(self):
# ampl = self.ampl
# ampl.eval("var x;")
# ampl.var["x"] = 10
# self.assertEqual(ampl.var["x"].value(), ampl.get_variable("x").value())
# self.assertEqual(len(list(ampl.var)), len(list(ampl.get_variables())))
def test_var_prop(self):
ampl = self.ampl
ampl.eval("var x;")
ampl.var["x"] = 10
self.assertEqual(ampl.var["x"].value(), ampl.get_variable("x").value())
self.assertEqual(len(list(ampl.var)), len(list(ampl.get_variables())))

def test_con_prop(self):
ampl = self.ampl
Expand Down

0 comments on commit 164acc8

Please sign in to comment.