Skip to content

Commit

Permalink
Fix edentest for Py3
Browse files Browse the repository at this point in the history
  • Loading branch information
nursix committed Sep 25, 2019
1 parent c13e9d5 commit 73c8039
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
286851ab4 (2019-09-25 14:22:48)
nursix-dev-3266-gc13e9d5 (2019-09-25 22:13:32)
4 changes: 2 additions & 2 deletions tests/execution/libs/edentest_robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ def get_deployment_settings(self, *asked):
logger.info("request_url %s" % (request_url))

# Create the headers
b64_auth_string = b64encode("%s:%s" % (self.admin_email, self.admin_password))
auth_string = "%s:%s" % (self.admin_email, self.admin_password)
headers = {
"content-type" : "application/json",
"Authorization" : "Basic %s" % b64_auth_string
"Authorization" : "Basic %s" % b64encode(auth_string.encode("utf-8")).decode("utf-8")
}

# Send the response and get the response
Expand Down

0 comments on commit 73c8039

Please sign in to comment.