From 99e3106b29c07f50628d9bd89fafdbbf1540e37d Mon Sep 17 00:00:00 2001 From: yuvipanda Date: Wed, 31 Oct 2018 11:21:09 -0700 Subject: [PATCH] Make bootstrap test name / description more generic --- .circleci/config.yml | 4 ++-- integration-tests/{test_distro.py => test_bootstrap.py} | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) rename integration-tests/{test_distro.py => test_bootstrap.py} (90%) diff --git a/.circleci/config.yml b/.circleci/config.yml index c57ad61..64db5e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -80,9 +80,9 @@ jobs: plugins test_simplest_plugin.py - run: - name: Run distro check test + name: Run bootstrap checks command: | - py.test integration-tests/test_distro.py + py.test integration-tests/test_bootstrap.py diff --git a/integration-tests/test_distro.py b/integration-tests/test_bootstrap.py similarity index 90% rename from integration-tests/test_distro.py rename to integration-tests/test_bootstrap.py index cf237f1..5bf143f 100644 --- a/integration-tests/test_distro.py +++ b/integration-tests/test_bootstrap.py @@ -1,9 +1,13 @@ """ -Test running on non-supported distros +Test running bootstrap script in different circumstances """ import subprocess + def test_ubuntu_too_old(): + """ + Error with a useful message when running in older Ubuntu + """ container_name = 'old-distro-test' # stop container if it is already running