Commit 9b51d5ba by Kyle Beauchamp

Removed extra return value.

parent 75ce197b
......@@ -5,24 +5,24 @@ import tempfile
def test_mutate_1():
fixer = pdbfixer.PDBFixer(pdbid='1VII')
rmap = fixer.applyMutations(["ALA-16-GLY"])
fixer.applyMutations(["ALA-16-GLY"])
app.PDBFile.writeFile(fixer.topology, fixer.positions, tempfile.TemporaryFile())
def test_mutate_2():
fixer = pdbfixer.PDBFixer(pdbid='1VII')
rmap = fixer.applyMutations(["ALA-16-GLY", "SER-15-ALA"])
fixer.applyMutations(["ALA-16-GLY", "SER-15-ALA"])
app.PDBFile.writeFile(fixer.topology, fixer.positions, tempfile.TemporaryFile())
@raises(ValueError)
def test_mutate_3_fails():
fixer = pdbfixer.PDBFixer(pdbid='1VII')
rmap = fixer.applyMutations(["ALA-15-GLY", "SER-15-ALA"])
fixer.applyMutations(["ALA-15-GLY", "SER-15-ALA"])
app.PDBFile.writeFile(fixer.topology, fixer.positions, tempfile.TemporaryFile())
@raises(KeyError)
def test_mutate_4_fails():
fixer = pdbfixer.PDBFixer(pdbid='1VII')
rmap = fixer.applyMutations(["ALA-16-WTF", "SER-15-ALA"])
fixer.applyMutations(["ALA-16-WTF", "SER-15-ALA"])
app.PDBFile.writeFile(fixer.topology, fixer.positions, tempfile.TemporaryFile())
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment