コード例 #1
0
    def test__get_origin_data_normal_only(self):
        tempdir = tempfile.mkdtemp()
        with open(os.path.join(tempdir, 'snapcraft.yaml'), 'w') as fp:
            fp.write("")

        _get_origin_data(tempdir)
        shutil.rmtree(tempdir)
コード例 #2
0
ファイル: test_parser.py プロジェクト: Eroui/snapcraft
    def test__get_origin_data_normal_only(self):
        tempdir = tempfile.mkdtemp()
        with open(os.path.join(tempdir, 'snapcraft.yaml'), 'w') as fp:
            fp.write("")

        _get_origin_data(tempdir)
        shutil.rmtree(tempdir)
コード例 #3
0
ファイル: test_parser.py プロジェクト: q0wOp/snapcraft
    def test__get_origin_data_normal_only(self):
        with open(os.path.join(self.tempdir_path,
                  'snapcraft.yaml'), 'w') as fp:
            fp.write("")

        _get_origin_data(self.tempdir_path)
コード例 #4
0
ファイル: test_parser.py プロジェクト: squidsoup/snapcraft
    def test__get_origin_data_normal_only(self):
        with open(os.path.join(self.tempdir_path,
                  'snapcraft.yaml'), 'w') as fp:
            fp.write("")

        _get_origin_data(self.tempdir_path)
コード例 #5
0
ファイル: test_parser.py プロジェクト: mvo5/snapcraft
    def test__get_origin_data_hidden_only(self):
        with open(os.path.join(self.tempdir_path, ".snapcraft.yaml"), "w") as fp:
            fp.write("")

        _get_origin_data(self.tempdir_path)
コード例 #6
0
ファイル: test_parser.py プロジェクト: touilleMan/snapcraft
    def test__get_origin_data_hidden_only(self):
        with open(os.path.join(self.tempdir_path, ".snapcraft.yaml"),
                  "w") as fp:
            fp.write("")

        _get_origin_data(self.tempdir_path)