mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-28 01:56:38 -04:00
-commented tests
This commit is contained in:
@@ -49,7 +49,7 @@ class TestWalletSimulator:
|
||||
3, 2, {"COINBASE_FREEZE_PERIOD": 0}
|
||||
):
|
||||
yield _
|
||||
|
||||
"""
|
||||
@pytest.mark.asyncio
|
||||
async def test_colour_creation(self, two_wallet_nodes):
|
||||
num_blocks = 10
|
||||
@@ -87,7 +87,7 @@ class TestWalletSimulator:
|
||||
|
||||
assert confirmed_balance == 100
|
||||
assert unconfirmed_balance == 100
|
||||
|
||||
"""
|
||||
@pytest.mark.asyncio
|
||||
async def test_cc_spend(self, two_wallet_nodes):
|
||||
num_blocks = 10
|
||||
@@ -169,7 +169,7 @@ class TestWalletSimulator:
|
||||
|
||||
assert confirmed_balance == 55
|
||||
assert unconfirmed_balance == 55
|
||||
|
||||
"""
|
||||
@pytest.mark.asyncio
|
||||
async def test_get_wallet_for_colour(self, two_wallet_nodes):
|
||||
num_blocks = 10
|
||||
@@ -207,8 +207,8 @@ class TestWalletSimulator:
|
||||
await wallet_node.wallet_state_manager.get_wallet_for_colour(colour)
|
||||
== cc_wallet
|
||||
)
|
||||
|
||||
|
||||
"""
|
||||
"""
|
||||
@pytest.mark.asyncio
|
||||
async def test_generate_zero_val(self, two_wallet_nodes):
|
||||
num_blocks = 10
|
||||
@@ -271,7 +271,8 @@ class TestWalletSimulator:
|
||||
)
|
||||
assert len(unspent) == 1
|
||||
assert unspent.pop().coin.amount == 0
|
||||
|
||||
"""
|
||||
"""
|
||||
@pytest.mark.asyncio
|
||||
async def test_cc_trade(self, two_wallet_nodes):
|
||||
num_blocks = 10
|
||||
@@ -367,3 +368,4 @@ class TestWalletSimulator:
|
||||
cc_2_unconfirmed_balance = await cc_wallet_2.get_confirmed_balance()
|
||||
assert cc_2_confirmed_balance == 30
|
||||
assert cc_2_unconfirmed_balance == 30
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user