Correct test name
This commit is contained in:
@ -78,7 +78,7 @@ class PythonOpen(unittest.TestCase):
|
|||||||
lmp.close()
|
lmp.close()
|
||||||
|
|
||||||
@unittest.skipIf(not has_exceptions,"Skipping death test since LAMMPS isn't compiled with exception support")
|
@unittest.skipIf(not has_exceptions,"Skipping death test since LAMMPS isn't compiled with exception support")
|
||||||
def testUnknownCommandInList(self):
|
def testUnknownCommandInString(self):
|
||||||
lmp = lammps(name=self.machine)
|
lmp = lammps(name=self.machine)
|
||||||
|
|
||||||
with self.assertRaisesRegex(Exception, "ERROR: Unknown command: write_paper"):
|
with self.assertRaisesRegex(Exception, "ERROR: Unknown command: write_paper"):
|
||||||
|
|||||||
Reference in New Issue
Block a user