mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 14:35:45 +00:00
fixed test_get_spent_issue_1271 issue after 1st start of the tests/services
renamed tests Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
aedf42aa9d
commit
1abb7f6078
2
.github/workflows/unit-test-abci.yml
vendored
2
.github/workflows/unit-test-abci.yml
vendored
@ -3,7 +3,7 @@
|
|||||||
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
||||||
# Code is Apache-2.0 and docs are 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]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
2
.github/workflows/unit-test-no-abci.yml
vendored
2
.github/workflows/unit-test-no-abci.yml
vendored
@ -3,7 +3,7 @@
|
|||||||
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
||||||
# Code is Apache-2.0 and docs are 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]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@ -39,7 +39,6 @@ def config(request, monkeypatch):
|
|||||||
monkeypatch.setattr("planetmint.config", config)
|
monkeypatch.setattr("planetmint.config", config)
|
||||||
return config
|
return config
|
||||||
|
|
||||||
|
|
||||||
def test_bigchain_class_default_initialization(config):
|
def test_bigchain_class_default_initialization(config):
|
||||||
from planetmint import Planetmint
|
from planetmint import Planetmint
|
||||||
from planetmint.validation import BaseValidationRules
|
from planetmint.validation import BaseValidationRules
|
||||||
@ -52,7 +51,7 @@ def test_bigchain_class_default_initialization(config):
|
|||||||
|
|
||||||
@pytest.mark.bdb
|
@pytest.mark.bdb
|
||||||
def test_get_spent_issue_1271(b, alice, bob, carol):
|
def test_get_spent_issue_1271(b, alice, bob, carol):
|
||||||
|
b.connection.close()
|
||||||
tx_1 = Create.generate(
|
tx_1 = Create.generate(
|
||||||
[carol.public_key],
|
[carol.public_key],
|
||||||
[([carol.public_key], 8)],
|
[([carol.public_key], 8)],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user