def test_overspecified_grid_args(self): with self.assertRaises(InputError): parse_grid_id_args(self._grid, self._grid_url)
def test_no_grid_id_args(self): with self.assertRaises(InputError): parse_grid_id_args(None, None)
def test_grid_id_args(self): self.assertEqual(parse_grid_id_args(self._grid, None), parse_grid_id_args(None, self._grid_url))
def test_overspecified_grid_args(): parse_grid_id_args(_grid, _grid_url)
def test_no_grid_id_args(): parse_grid_id_args(None, None)
def test_grid_id_args(): assert( parse_grid_id_args(_grid, None) == parse_grid_id_args(None, _grid_url) )