@@ -0,0 +1,878 @@
+from ..payload_metaclass import *%0A%0A%0Adef test_metapayload():%0A    scripty = Human(given_name='Totally', family_name='NotARobot', email='a@a.com', institution='Earth')%0A    kwargs = dict(title='Test Payload',%0A                  source=%7B'name': 'whatever', 'producer': 'test producer', 'url': 'http://www.testurl.org',%0A                          'tags': %5B'these', 'are', 'source', 'tags'%5D%7D, data_contacts=%5Bscripty%5D,%0A                  data_contributors=%5Bscripty%5D, links=%7B'landing_page': 'http://www.globus.org'%7D, licenses=%5B%0A            %7B'name': 'license name', 'url': 'http://www.licenseurl.org', 'description': 'license description',%0A             'tags': %5B'license', 'tags'%5D%7D, %5D)%0A%0A    citpayload = CITPayload(**kwargs)%0A    mdfpayload = MDFPayload(**kwargs)%0A    mcpayload = MCPayload(**kwargs)%0A%0A    for payload in %5Bcitpayload, mdfpayload, mcpayload%5D:%0A        assert payload.metapayload%0A

Add metapayload test