def test_parse_creation_unknown_field(self): a_creation = {} parsed_creation = {} creation.fill(parsed_creation, UNKNOWN_CREATION_FIELD, '') self.assertEqual(parsed_creation, a_creation)
def test_parse_creation_uid(self): a_creation = {} a_creation['uid'] = ONE_USER_UID_GOOD parsed_creation = {} creation.fill(parsed_creation, 'uid', ONE_USER_UID_GOOD) self.assertEqual(parsed_creation, a_creation)
def test_parse_creation_changeset(self): a_creation = {} a_creation['changeset'] = ONE_CREATION_CHANGESET_GOOD parsed_creation = {} creation.fill(parsed_creation, 'changeset', ONE_CREATION_CHANGESET_GOOD) self.assertEqual(parsed_creation, a_creation)
def test_parse_creation_timestamp(self): a_creation = {} a_creation['timestamp'] = ONE_CREATION_TIMESTAMP_GOOD parsed_creation = {} creation.fill(parsed_creation, 'timestamp', ONE_CREATION_TIMESTAMP_GOOD) self.assertEqual(parsed_creation, a_creation)
def test_parse_creation_version(self): a_creation = {} a_creation['version'] = ONE_CREATION_VERSION_GOOD parsed_creation = {} creation.fill(parsed_creation, 'version', ONE_CREATION_VERSION_GOOD) self.assertEqual(parsed_creation, a_creation)