From 1f1c1ab1ec9121023274d99fb8ef8ea6c7ba9a7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 23 Apr 2024 13:47:26 +0200 Subject: [PATCH] fix bitbucket test --- tests/test_bitbucket.py | 8 ++++---- tests/testpkgs/bitbucket.nix | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/test_bitbucket.py b/tests/test_bitbucket.py index d91dc24..43c75ab 100644 --- a/tests/test_bitbucket.py +++ b/tests/test_bitbucket.py @@ -36,8 +36,8 @@ def test_version(helpers: conftest.Helpers) -> None: print(commit) assert version in commit assert "bitbucket" in commit - assert "/jongsoftdev/youless-python-bridge/branches/compare/" in commit - assert "%0D1.0" in commit + assert "/nielsenb/aniso8601/branches/compare/" in commit + assert "%0Dv9.0.0" in commit # integration test for bitbucket snapshots @@ -76,5 +76,5 @@ def test_snapshot(helpers: conftest.Helpers) -> None: print(commit) assert version in commit assert "bitbucket" in commit - assert "/jongsoftdev/youless-python-bridge/branches/compare/" in commit - assert "%0Dc04342ef36dd5ba8f7d9b9fce2fb4926ef401fd5" in commit + assert "/nielsenb/aniso8601/branches/compare/" in commit + assert "%0D55b1b849a57341a303ae47eb67c7ecf8c283b7f8" in commit diff --git a/tests/testpkgs/bitbucket.nix b/tests/testpkgs/bitbucket.nix index 55b4cc6..3333479 100644 --- a/tests/testpkgs/bitbucket.nix +++ b/tests/testpkgs/bitbucket.nix @@ -3,19 +3,19 @@ let # Why this package? No reason, I just found a small package that uses tags # for release by grepping through nixpkgs for fetchFromBitbucket. - owner = "jongsoftdev"; - repo = "youless-python-bridge"; - # As of 2023-11-22, latest version is 1.0.1, so we will be testing that it - # finds a version greater than 1.0. The rev from 2022-10-01 is an untagged + owner = "nielsenb"; + repo = "aniso8601"; + # As of 2024-04-23, latest version is 9.0.1, so we will be testing that it + # finds a version greater than 9.0.0. The rev from 2021-03-02 is an untagged # commit. version = if (isSnapshot) then "0.16-unstable-2022-10-01" - else "1.0"; + else "9.0.0"; rev = if (isSnapshot) - then "c04342ef36dd5ba8f7d9b9fce2fb4926ef401fd5" - else "1.0"; + then "55b1b849a57341a303ae47eb67c7ecf8c283b7f8" + else "v9.0.0"; in stdenv.mkDerivation rec { pname = repo;