Coverage for snapcraft/tests/test_repo : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*- # # Copyright (C) 2015 Canonical Ltd # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License version 3 as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>.
def test_sources_amd64_vivid(self, mock_cc):
repo._DEFAULT_SOURCES, 'amd64', 'vivid')
'''deb http://ar.archive.ubuntu.com/ubuntu/ vivid main restricted deb http://ar.archive.ubuntu.com/ubuntu/ vivid-updates main restricted deb http://ar.archive.ubuntu.com/ubuntu/ vivid universe deb http://ar.archive.ubuntu.com/ubuntu/ vivid-updates universe deb http://ar.archive.ubuntu.com/ubuntu/ vivid multiverse deb http://ar.archive.ubuntu.com/ubuntu/ vivid-updates multiverse deb http://security.ubuntu.com/ubuntu vivid-security main restricted deb http://security.ubuntu.com/ubuntu vivid-security universe deb http://security.ubuntu.com/ubuntu vivid-security multiverse '''
def test_sources_armhf_trusty(self, mock_cc): repo._DEFAULT_SOURCES, 'armhf', 'trusty')
'''deb http://ports.ubuntu.com/ubuntu-ports/ trusty main restricted deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main restricted deb http://ports.ubuntu.com/ubuntu-ports/ trusty universe deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates universe deb http://ports.ubuntu.com/ubuntu-ports/ trusty multiverse deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates multiverse deb http://ports.ubuntu.com/ubuntu-ports trusty-security main restricted deb http://ports.ubuntu.com/ubuntu-ports trusty-security universe deb http://ports.ubuntu.com/ubuntu-ports trusty-security multiverse '''
'suid_file': (0o4765, 0o0765), 'guid_file': (0o2777, 0o0777), 'suid_guid_file': (0o6744, 0o0744), 'suid_guid_sticky_file': (0o7744, 0o1744), }
stat.S_IMODE(os.stat(file).st_mode), files[key][1]) |