Skip to content
Snippets Groups Projects
Commit b9c0d277 authored by Stefan Mauerberger's avatar Stefan Mauerberger
Browse files

Infrastructure for even more tests

parent acd9be16
No related branches found
No related tags found
1 merge request!6Tests
import unittest
import io
import sys
from matplotlib import pyplot as plt
from pymagglobal import models
from test_argument_parser import _SetUpCls
class Commands(_SetUpCls):
@unittest.skip('not yet implemented')
def test_usage_ex_master(self):
from pymagglobal.__main__ import mst_ex_ofn, mst_ex_cmd
nsp = self.parser.parse_args(mst_ex_cmd.split()[1:])
#nsp.func(nsp)
#plt.savefig('./docs/' + mst_ex_ofn)
@unittest.skip('not yet implemented')
def test_usage_ex_dipole(self):
from pymagglobal.__main__ import dip_ex_ofn, dip_ex_cmd
nsp = self.parser.parse_args(dip_ex_cmd.split()[1:])
#nsp.func(nsp)
#plt.savefig('./docs/' + mst_ex_ofn)
@unittest.skip('not yet implemented')
def test_usage_ex_map(self):
from pymagglobal.__main__ import map_ex_ofn, map_ex_cmd
nsp = self.parser.parse_args(map_ex_cmd.split()[1:])
#nsp.func(nsp)
#plt.savefig('./docs/' + mst_ex_ofn)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment