biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Require pybind 2.6 from environment for gmxapi Python package extension module.
[alexxy/gromacs.git]
/
python_packaging
/
sample_restraint
/
tests
/
test_plugin.py
diff --git
a/python_packaging/sample_restraint/tests/test_plugin.py
b/python_packaging/sample_restraint/tests/test_plugin.py
index bd8c0c0ae52f5226636e8f193e8020147b00b33f..e7016a998183c1520edfa1782e464c9946231d47 100644
(file)
--- a/
python_packaging/sample_restraint/tests/test_plugin.py
+++ b/
python_packaging/sample_restraint/tests/test_plugin.py
@@
-73,6
+73,7
@@
def test_binding_protocol(spc_water_box, mdrun_kwargs):
assert len(context.potentials) > 0
for restraint in context.potentials:
if isinstance(restraint, myplugin.NullRestraint):
+ assert gmx.version.api_is_at_least(0, 2, 1)
assert restraint.count() > 1