mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-27 13:57:46 +00:00
Fix test depending on $HOME.
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
Loading packages...
|
Loading packages...
|
||||||
[!] Unable to import file /pyspi_0.6.1.orig.tar.gz into pool: unable to import into pool: file /Users/smira/.aptly/pool/de/f3/pyspi_0.6.1.orig.tar.gz already exists
|
[!] Unable to import file /pyspi_0.6.1.orig.tar.gz into pool: unable to import into pool: file ${HOME}/.aptly/pool/de/f3/pyspi_0.6.1.orig.tar.gz already exists
|
||||||
|
|||||||
@@ -188,6 +188,7 @@ class AddRepo9Test(BaseTest):
|
|||||||
]
|
]
|
||||||
runCmd = "aptly repo add repo9 ${files}/pyspi_0.6.1-1.3.dsc"
|
runCmd = "aptly repo add repo9 ${files}/pyspi_0.6.1-1.3.dsc"
|
||||||
outputMatchPrepare = lambda self, s: s.replace(os.path.join(os.path.dirname(inspect.getsourcefile(BaseTest)), "files"), "")
|
outputMatchPrepare = lambda self, s: s.replace(os.path.join(os.path.dirname(inspect.getsourcefile(BaseTest)), "files"), "")
|
||||||
|
gold_processor = BaseTest.expand_environ
|
||||||
|
|
||||||
def prepare(self):
|
def prepare(self):
|
||||||
super(AddRepo9Test, self).prepare()
|
super(AddRepo9Test, self).prepare()
|
||||||
|
|||||||
Reference in New Issue
Block a user