Skip to content

Commit

Permalink
test(rplibs): add test to new rpSBML method
Browse files Browse the repository at this point in the history
  • Loading branch information
breakthewall committed Nov 29, 2023
1 parent 1aff924 commit 02a92e4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/rplibs/test_rpSBML.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,22 @@ def test_from_cobra(self):
rpSBML
)

def test_isolated_species(self):
self.assertSetEqual(
set(self.rpsbml_lycopene.get_isolated_species()),
set(["MNXM24", "MNXM8975"])
)
self.rpsbml_lycopene.set_isolated_species(["MNXM24"])
self.assertSetEqual(
set(self.rpsbml_lycopene.get_isolated_species()),
set(["MNXM24"])
)
self.rpsbml_lycopene.rm_isolated_species()
self.assertListEqual(
self.rpsbml_lycopene.get_isolated_species(),
[]
)

#def test_initEmpty(self):002_0001
# rpSBML(name='rpSBML_test', logger=self.logger)

Expand Down

0 comments on commit 02a92e4

Please sign in to comment.