| from ClickReaction.Reactions import FmocRemoval |
| from tests import TestHelper |
|
|
|
|
| class FmocRemovalTest(TestHelper.ReactionTestCase): |
| reactant_names = ["fmocamine"] |
|
|
| def setUp(self): |
| self.set_reaction(FmocRemoval) |
|
|
| def test_one_product(self): |
| reactants = [ |
| |
| (("CNC(OCC1C(C=CC=C2)=C2C3=C1C=CC=C3)=O", ), "CN"), |
| |
| (("O=C(NC1=CC=CC=C1)OCC2C(C=CC=C3)=C3C4=C2C=CC=C4", ), "NC1=CC=CC=C1"), |
| |
| (("CN(C)C(OCC1C(C=CC=C2)=C2C3=C1C=CC=C3)=O", ), "CNC"), |
| |
| (("O=C(N(C1=CC=CC=C1)C2=CC=CC=C2)OCC3C(C=CC=C4)=C4C5=C3C=CC=C5", ), "C1(NC2=CC=CC=C2)=CC=CC=C1"), |
| |
| (("CN(C(OCC1C(C=CC=C2)=C2C3=C1C=CC=C3)=O)C4=CC=CC=C4", ), "CNC1=CC=CC=C1"), |
| ] |
|
|
| self._test_one_product(reactants, self.reactant_names) |
|
|
| |
| def test_no_product(self): |
| reactants = [ |
| |
| ("CNC(OC(C)(C)C)=O", ), |
|
|
| |
| ("CNCC1=CC=CC=C1", ), |
|
|
| |
| ("CNC",), |
|
|
| |
| ("CN(C(OC)=O)C", ), |
|
|
| |
| ("CN(C(NC)=O)C", ), |
| ] |
|
|
| self._test_no_product(reactants, self.reactant_names) |
|
|