1
0
Fork 0

For perf-frontend-issues#16: switch device_config parameter for Nimbledroid to be Android7 (#6985)

* For perf-frontend-issues#16: specify device_config parameter to be 'android7' when running Nimbledroid tests. This will switch the tests from running Android5 to Android7, which is a better representation of our user's experience

* Ensure we can test with both Android5 and Android7
master
Emma Malysz 2019-12-18 08:40:35 -08:00 committed by GitHub
parent 1a739db5b1
commit 9ae20f2bcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ url = "https://nimbledroid.com/api/v2/apks"
def uploadApk(apk,key):
headers = {"Accept":"*/*"}
payload = {'auto_scenarios':'false'}
payload = {'auto_scenarios':'false', 'device_config': 'android5,android7'}
response = requests.post(url, auth=(key, ''), headers=headers, files=apk, data=payload)
if response.status_code != 201: