Update the baseline images; many were renamed.
MODIFY
CHANGELOG.md
CHANGELOG.md
## Unreleased
### Changes
-- Rename the d3 renderer to svg. d3 still works as an alias
-- Rename the vgl renderer to webgl. vgl still works as an alias
+- Rename the d3 renderer to svg. d3 still works as an alias (#965)
+- Rename the vgl renderer to webgl. vgl still works as an alias (#965)
## Version 0.19.0

MODIFY
tests/external-data/base-images.tgz.sha512
tests/external-data/base-images.tgz.sha512
-d7c9ac0d2324d047ee687fa0c1f857b24b03beae3cb84060d7507c53aca2b8a184abdcb6161ceb2cb238219b8235cfab75f61d9a1a2ff9fcf521b3f96c5f6c84
+85e41ee7e4600db151dfdf22f89e1e0eb3360bc64663377078247a7ffc58d38b1a802ebfbffdb191b68d7f96cd7b10b030bcaa5d63e1879ec620fdc735206638
\ No newline at end of file

MODIFY
tests/runners/baseline_images.py
tests/runners/baseline_images.py
import argparse
import girder_client
-import md5
import os
import subprocess
import time
@@ -81,13 +80,11 @@ def upload_baselines(args):
stream=open(tarPath), size=tarSize, mimeType='application/tar+gzip')
if args['verbose'] >= 1:
print('Upload to file %s' % uploadedFile['_id'])
- testDataPath = os.path.abspath('testing/test-data')
+ testDataPath = os.path.abspath('tests/external-data')
if not os.path.isdir(testDataPath):
raise Exception('Can\'t update test-data information.')
- open(os.path.join(testDataPath, 'base-images.tgz.url'), 'w').write(
- apiRoot + 'file/%s/download' % uploadedFile['_id'])
- open(os.path.join(testDataPath, 'base-images.tgz.md5'), 'w').write(
- md5.new(open(tarPath).read()).hexdigest())
+ sha512 = gc.getFile(uploadedFile['_id'])['sha512']
+ open(os.path.join(testDataPath, 'base-images.tgz.sha512'), 'w').write(sha512)
if args['verbose'] >= 1:
print('test-data references updated')

Update the baseline images; many were renamed.