def test_cli_nosol_3(): """Test cli nosol.""" cli_nosol.main( toptest, trajtest, selection=None, maintain=['CL', 'NA'], top_output=None, traj_output='nosol.dcd', ) p1 = Path('nosol.dcd') p2 = Path('nosol_f1.pdb') assert p1.exists() assert not p2.exists() p1.unlink()
def test_cli_nosol_1(): """Test cli nosol.""" cli_nosol.main( toptest, trajtest, selection='name CA', maintain=None, top_output='_f0.pdb', traj_output='nosol.dcd', ) p1 = Path('nosol.dcd') p2 = Path('nosol_f0.pdb') assert p1.exists() assert p2.exists() p1.unlink() p2.unlink()