mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
Disable FTP tests in Travis
This commit is contained in:
1 parent
aa3a2ab595
commit
d76259496d
4 files changed
+6
No files matched your search
@@ -61,6 +61,7 @@ class BaseTest(object):
|
||||
fixtureDB = False
|
||||
fixtureGpg = False
|
||||
fixtureWebServer = False
|
||||
requiresFTP = False
|
||||
|
||||
expectedCode = 0
|
||||
configFile = {
|
||||
@@ -118,6 +119,8 @@ class BaseTest(object):
|
||||
return False
|
||||
if self.fixtureDB and not os.path.exists(self.fixtureDBDir):
|
||||
return False
|
||||
if self.requiresFTP and os.environ.get('NO_FTP_ACCESS', '') == 'yes':
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
|
||||
Reference in new issue
Block a user