def versions(): from pyne import dagmc dagmc.load(path) returned = dagmc.versions() return returned
def versions(): from pyne import dagmc dagmc.load(path) returned = dagmc.versions() assert_equal(len(returned), 2) assert_true(isinstance(returned[0], STRING_TYPES)) assert_true(isinstance(returned[1], int))
def test_versions(self): returned = dagmc.versions() self.assertEqual(len(returned), 2) self.assertTrue(isinstance(returned[0], STRING_TYPES)) self.assertTrue(isinstance(returned[1], int))