Skip to content

Commit

Permalink
added independent test case for context to_yaml and from_yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
granrothge committed Aug 18, 2022
1 parent 508ab31 commit 9e7ff5a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/ui/getdos_TestCase.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
import unittest
class TestCase(unittest.TestCase):

def test_contextload(self):
from multiphonon.ui import Context
cntxt = Context()
cntxt.to_yaml('context.yaml')
cntxt2 = Context()
cntxt2.from_yaml('context.yaml')
return

def test1(self):
"multiphonon.ui.getdos"
from multiphonon.ui import getdos
Expand Down

0 comments on commit 9e7ff5a

Please sign in to comment.