4 class TestSyck(test_appliance
.TestAppliance
):
6 def _testSyckOnTokenTests(self
, test_name
, data_filename
, tokens_filename
):
8 syck
.parse(file(data_filename
, 'rb'))
12 print file(data_filename
, 'rb').read()
15 def _testSyckOnCanonicalTests(self
, test_name
, data_filename
, canonical_filename
):
17 syck
.parse(file(data_filename
, 'rb'))
21 print file(data_filename
, 'rb').read()
26 #TestSyck.add_tests('testSyckOnTokenTests', '.data', '.tokens')
27 #TestSyck.add_tests('testSyckOnCanonicalTests', '.data', '.canonical')