Beispiel #1
0
 def test_20_t2d(self):
     '''Test travis2docker second time'''
     sys.argv = [
         'travis2docker', self.repo_test, self.branch_test,
         '--root-path=/tmp/t2d_tests',
     ]
     t2d_main()
Beispiel #2
0
 def test_t2d_build_extra_args(self):
     ''' Verify no error is thrown when extra-build-args are supplied '''
     sys.argv = [
         'travis2docker', self.repo_test, self.branch_test,
         '--root-path=/tmp/t2d_tests',
         '--build-extra-args="--disable-content-trust=true"',
     ]
     t2d_main()