From 0fedb4ec3b1d9f4b7c24ab8d019c50cdeab8bbb4 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 2 Jul 2018 12:44:37 +0200 Subject: [PATCH] Run tests with Python 3 Bump Cockpit test API to 171 for this, which made the test API bilingual. --- Makefile | 2 +- test/check-application | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b8f4148..5a60e04 100644 --- a/Makefile +++ b/Makefile @@ -125,7 +125,7 @@ bots: # checkout Cockpit's test API; this has no API stability guarantee, so check out a stable tag # when you start a new project, use the latest relese, and update it from time to time test/common: - git fetch --depth=1 https://github.com/cockpit-project/cockpit.git 170 + git fetch --depth=1 https://github.com/cockpit-project/cockpit.git 171 git checkout --force FETCH_HEAD -- test/common git reset test/common diff --git a/test/check-application b/test/check-application index 34c90e6..40431e2 100755 --- a/test/check-application +++ b/test/check-application @@ -1,5 +1,4 @@ -#!/usr/bin/python -# coding: UTF-8 +#!/usr/bin/python3 # Run this with --help to see available options for tracing and debugging # See https://github.com/cockpit-project/cockpit/blob/master/test/common/testlib.py # "class Browser" and "class MachineCase" for the available API.