Skip to content

Commit 3d0f266

Browse files
Cleanup launch (#11)
* Lang10 migration * Update launch.json
1 parent 62f5e53 commit 3d0f266

File tree

3 files changed

+24
-4
lines changed

3 files changed

+24
-4
lines changed

.vscode/launch.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Python: Tests",
9+
"type": "python",
10+
"request": "launch",
11+
"module": "pytest",
12+
"console": "integratedTerminal",
13+
"cwd": "${workspaceRoot}",
14+
"args": [
15+
"--contract-path=.",
16+
"--network-config=~/.symbiont/assembly-dev/dev-network/default/network-config.json"
17+
]
18+
}
19+
]
20+
}

contract.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
name: auction
22
version: "1.0.0"
3-
language: 9
3+
language: 10

test/auctions_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import pytest
22
from assembly_client.api.contracts import ContractRef
33

4-
AUCTION = ContractRef('auction', '1.0.0', 9)
4+
AUCTION = ContractRef('auction', '1.0.0', 10)
55

66
class TestAuction():
77

88
@pytest.fixture
99
def reset_publish(self, network):
10-
network.reset(sympl_version=9)
10+
network.reset(sympl_version=10)
1111
network.publish([AUCTION])
1212

1313
@pytest.fixture
@@ -16,7 +16,7 @@ def key_alias(self, network):
1616

1717
@pytest.fixture
1818
def auction(self, network, reset_publish, key_alias):
19-
return network[key_alias].auction['9-1.0.0']
19+
return network[key_alias].auction['10-1.0.0']
2020

2121
def test_auction_life_cycle(self, auction):
2222
assert len(auction.get_auctions()) == 0

0 commit comments

Comments
 (0)