Exemplo n.º 1
0
 def test_cite(self):
     sgrid(argv=['--cite'])
Exemplo n.º 2
0
 def test_help(self):
     with pytest.raises(SystemExit):
         sgrid(argv=['--help'])
Exemplo n.º 3
0
 def test_version(self):
     sgrid(argv=['--version'])
Exemplo n.º 4
0
 def sg_mol(**kwargs):
     kwargs['ret_grid'] = True
     if 'grid' not in kwargs:
         kwargs['grid'] = self.grid_mol
     return sgrid(**kwargs)