From eec6743fe4a0ebe027755f8da3e32f48e221ab76 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Thu, 27 Nov 2014 00:55:28 +0300 Subject: [PATCH] Use ${HOME}, fix test. #146 --- system/t08_db/CleanupDB9Test_publish_drop | 2 +- system/t08_db/cleanup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/system/t08_db/CleanupDB9Test_publish_drop b/system/t08_db/CleanupDB9Test_publish_drop index af8e41e1..c9303809 100644 --- a/system/t08_db/CleanupDB9Test_publish_drop +++ b/system/t08_db/CleanupDB9Test_publish_drop @@ -1,4 +1,4 @@ -Removing /Users/smira/.aptly/public/dists/def... +Removing ${HOME}/.aptly/public/dists/def... Cleaning up prefix "." components main... Published repository has been removed successfully. diff --git a/system/t08_db/cleanup.py b/system/t08_db/cleanup.py index 888e5314..908cb25d 100644 --- a/system/t08_db/cleanup.py +++ b/system/t08_db/cleanup.py @@ -110,4 +110,4 @@ class CleanupDB9Test(BaseTest): def check(self): self.check_output() - self.check_cmd_output("aptly publish drop def", "publish_drop") + self.check_cmd_output("aptly publish drop def", "publish_drop", match_prepare=self.expand_environ)