From 56ecd1aef77281b17a6fa5b203db0ca4aa9d3a66 Mon Sep 17 00:00:00 2001 From: Casey Faist Date: Wed, 18 Mar 2020 10:18:23 -0400 Subject: [PATCH] add quick test case --- test/run-focus | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 test/run-focus diff --git a/test/run-focus b/test/run-focus new file mode 100755 index 0000000..cc82c0a --- /dev/null +++ b/test/run-focus @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +# Default Python Versions +# shellcheck source=bin/default_pythons +source "bin/default_pythons" + +testDeployingTwiceUsesTheCache() { + compile "pythonDefault" + assertNotCaptured "Installing collected packages:" + assertCapturedSuccess + compile "pythonDefault" + assertCaptured "Requirement already satisfied:" + assertNotCaptured "Installing collected packages:" + assertCapturedSuccess +} + +pushd $(dirname 0) >/dev/null +popd >/dev/null + +source $(pwd)/test/utils +source $(pwd)/test/shunit2