System tests for aptly repo add..

This commit is contained in:
Andrey Smirnov
2014-02-26 13:08:55 +04:00
parent 3ddf39ee58
commit 653a7d8d5a
24 changed files with 299 additions and 3 deletions
+4 -1
View File
@@ -146,7 +146,10 @@ class BaseTest(object):
try:
#start = time.time()
if not hasattr(command, "__iter__"):
params = {'files': os.path.join(os.path.dirname(inspect.getsourcefile(BaseTest)), "files")}
params = {
'files': os.path.join(os.path.dirname(inspect.getsourcefile(BaseTest)), "files"),
'testfiles': os.path.join(os.path.dirname(inspect.getsourcefile(self.__class__)), self.__class__.__name__),
}
if self.fixtureWebServer:
params['url'] = self.webServerUrl