From 1abb7f6078c5aaf38748ec952fc0a65fc49af93e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Eckel?= Date: Fri, 28 Oct 2022 11:41:13 +0200 Subject: [PATCH] fixed test_get_spent_issue_1271 issue after 1st start of the tests/services renamed tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Eckel --- .github/workflows/unit-test-abci.yml | 2 +- .github/workflows/unit-test-no-abci.yml | 2 +- tests/test_core.py | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unit-test-abci.yml b/.github/workflows/unit-test-abci.yml index 3237d51..b31328d 100644 --- a/.github/workflows/unit-test-abci.yml +++ b/.github/workflows/unit-test-abci.yml @@ -3,7 +3,7 @@ # SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) # Code is Apache-2.0 and docs are CC-BY-4.0 -name: Unit tests +name: Unit tests - with direct ABCI on: [push, pull_request] jobs: diff --git a/.github/workflows/unit-test-no-abci.yml b/.github/workflows/unit-test-no-abci.yml index 5b637aa..3b9b7a8 100644 --- a/.github/workflows/unit-test-no-abci.yml +++ b/.github/workflows/unit-test-no-abci.yml @@ -3,7 +3,7 @@ # SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) # Code is Apache-2.0 and docs are CC-BY-4.0 -name: Unit tests +name: Unit tests - with Planemint on: [push, pull_request] jobs: diff --git a/tests/test_core.py b/tests/test_core.py index 52a66d5..51451fd 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -39,7 +39,6 @@ def config(request, monkeypatch): monkeypatch.setattr("planetmint.config", config) return config - def test_bigchain_class_default_initialization(config): from planetmint import Planetmint from planetmint.validation import BaseValidationRules @@ -52,7 +51,7 @@ def test_bigchain_class_default_initialization(config): @pytest.mark.bdb def test_get_spent_issue_1271(b, alice, bob, carol): - + b.connection.close() tx_1 = Create.generate( [carol.public_key], [([carol.public_key], 8)],