def testSerialisationWithKeywords(self): s = Gaffer.ScriptNode() s["n1"] = GafferTest.KeywordPlugNode() se = s.serialise() s2 = Gaffer.ScriptNode() s2.execute(se)