加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-remove-test-spec-with-opensuse-tomlfile.patch 870 Bytes
一键复制 编辑 原始数据 按行查看 历史
desert-sailor 提交于 2023-07-18 09:37 . Upgrade to version 23
From 01a5884b86f26a13b181d26d9082c674b2646b04 Mon Sep 17 00:00:00 2001
From: desert-sailor <dxwangk@isoftstone.com>
Date: Tue, 18 Jul 2023 10:18:30 +0800
Subject: [PATCH] remove test spec with opensuse tomlfile
---
rust2rpm/tests/test_generator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust2rpm/tests/test_generator.py b/rust2rpm/tests/test_generator.py
index acf93ce..00eb9a8 100644
--- a/rust2rpm/tests/test_generator.py
+++ b/rust2rpm/tests/test_generator.py
@@ -65,7 +65,7 @@ def mock_spec_file_render(crate, tomlfile, target, tmpdir):
@pytest.mark.parametrize("tomlfile", tomlfiles)
-@pytest.mark.parametrize("target", ["plain", "fedora", "mageia", "opensuse"])
+@pytest.mark.parametrize("target", ["plain", "fedora", "mageia"])
def test_spec(tomlfile, target, tmpdir):
crate = tomlfile.with_suffix("").name
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化