Skip to content

Commit

Permalink
Use the time as the default build number for local test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonrclarke committed Dec 12, 2019
1 parent adf8da6 commit 640ad13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/e2e/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import shutil
import tempfile
import time
from datetime import datetime

import flask
import pytest
Expand Down Expand Up @@ -172,7 +173,8 @@ def finalizer():
desired_cap = {
'platform': 'Windows',
'browserName': 'chrome',
'build': os.environ.get('TRAVIS_BUILD_NUMBER', 'HEPData local build'),
'build': os.environ.get('TRAVIS_BUILD_NUMBER',
datetime.now().strftime("%Y-%m-%d %H:%M:%S")),
'name': request.node.name,
'username': sauce_username,
'accessKey': sauce_access_key,
Expand Down

0 comments on commit 640ad13

Please sign in to comment.