def test_get_classifier(self): testname = 'testname' testtaxonomy = 'testtaxonomy' created = logic.classifier.create_classifier(testname, testtaxonomy) fetched = logic.classifier.get_classifier(testname, testtaxonomy) h.assert_true(isinstance(fetched, Classifier)) h.assert_false(created is fetched) h.assert_equal(created, fetched)
def test_is_compound(self): h.assert_false(self.field.is_compound)