From c326fcf5476336afa433fd7793c63eabf7861eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20M=C3=A9nager?= <herve.menager@pasteur.fr> Date: Tue, 14 Apr 2020 18:30:36 +0200 Subject: [PATCH] correct style for unit test on ConvertSMILESToSDFTestCase --- ippisite/ippidb/tests_utils.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ippisite/ippidb/tests_utils.py b/ippisite/ippidb/tests_utils.py index 0865028b..bf59015d 100644 --- a/ippisite/ippidb/tests_utils.py +++ b/ippisite/ippidb/tests_utils.py @@ -129,13 +129,13 @@ class ConvertSMILESToSDFTestCase(TestCase): # the MOL version is also a valid regexp to validate arbitrary name in # the openbabel-generated version self.sdf = ( - "1\n" - " OpenBabel[0-9]{11}D\n" - "\n" - " 1 0 0 0 0 0 0 0 0 0999 V2000\n" - " 0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n" - "M END\n" - "\$\$\$\$\n" + r"1\n" + r" OpenBabel[0-9]{11}D\n" + r"\n" + r" 1 0 0 0 0 0 0 0 0 0999 V2000\n" + r" 0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n" + r"M END\n" + r"\$\$\$\$\n" ) def test_valid(self): -- GitLab