Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahalev committed Dec 20, 2023
1 parent 8d7b0a3 commit f8f80ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/envs/test_discrete.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class TestDiscreteEnv(TestCase):

def test_init_from_microgrid(self):
microgrid = get_modular_microgrid()
env = DiscreteMicrogridEnv(microgrid)
env = DiscreteMicrogridEnv.from_microgrid(microgrid)

self.assertEqual(env.modules, microgrid.modules)
self.assertIsNot(env.modules.to_tuples(), microgrid.modules.to_tuples())
Expand Down

0 comments on commit f8f80ef

Please sign in to comment.