@@ -0,0 +1,1030 @@
+#!/usr/bin/env python%0Afrom opentreetesting import test_http_json_method, config%0Aimport datetime%0Aimport codecs%0Aimport json%0Aimport sys%0Aimport os%0A%0ADOMAIN = config('host', 'apihost')%0ASUBMIT_URI = DOMAIN + '/v1/study/1003'%0Ainpf = codecs.open('../nexson-validator/tests/single/input/1003.json', 'rU', encoding='utf-8')%0An = json.load(inpf)%0A# refresh a timestamp so that the test generates a commit%0Am = n%5B'nexml'%5D%5B'meta'%5D%0Ashort_list = %5Bi for i in m if i.get('@property') == 'bogus_timestamp'%5D%0Aif short_list:%0A    el = short_list%5B0%5D%0Aelse:%0A    el = %7B'@property': 'bogus_timestamp', '@xsi:type': 'nex:LiteralMeta'%7D%0A    m.append(el)%0Ael%5B'$'%5D = datetime.datetime.utcnow().isoformat()%0A%0Adata = %7B 'nexson' : n,%0A         'auth_token': os.environ.get('GITHUB_OAUTH_TOKEN', 'bogus_token'),%0A         'author_name': %22Some Dude%22,%0A         'author_email': %22dude@dude.com%22,%0A%7D%0Aif test_http_json_method(SUBMIT_URI,%0A                         'PUT',%0A                         data=data,%0A                         expected_status=200):%0A    sys.exit(0)%0Asys.exit(1)%0A

Add a test for over-riding author info