Skip to content

Commit

Permalink
GH-54 Missed a few locations where python tests refer to old eosio.bi…
Browse files Browse the repository at this point in the history
…os contract
  • Loading branch information
heifner committed Jan 3, 2023
1 parent bb470fa commit c168977
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions tests/TestHarness/Cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -1132,11 +1132,11 @@ def bootstrap(self, biosNode, totalNodes, prodCount, totalProducers, pfSetupPoli
return None

contract="eosio.bios"
contractDir="unittests/contracts/%s" % (contract)
contractDir="libraries/testing/contracts/%s" % (contract)
if PFSetupPolicy.hasPreactivateFeature(pfSetupPolicy):
contractDir="unittests/contracts/old_versions/v1.7.0-develop-preactivate_feature/%s" % (contract)
contractDir="libraries/testing/contracts/old_versions/v1.7.0-develop-preactivate_feature/%s" % (contract)
else:
contractDir="unittests/contracts/old_versions/v1.6.0-rc3/%s" % (contract)
contractDir="libraries/testing/contracts/old_versions/v1.6.0-rc3/%s" % (contract)
wasmFile="%s.wasm" % (contract)
abiFile="%s.abi" % (contract)
Utils.Print("Publish %s contract" % (contract))
Expand Down
2 changes: 1 addition & 1 deletion tests/plugin_http_api_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def activateAllBuiltinProtocolFeatures(self):
self.nodeos.activatePreactivateFeature()

contract = "eosio.bios"
contractDir = "unittests/contracts/old_versions/v1.7.0-develop-preactivate_feature/%s" % (contract)
contractDir = "libraries/testing/contracts/old_versions/v1.7.0-develop-preactivate_feature/%s" % (contract)
wasmFile = "%s.wasm" % (contract)
abiFile = "%s.abi" % (contract)

Expand Down
2 changes: 1 addition & 1 deletion tests/prod_preactivation_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@

node0 = cluster.getNode(0)
contract="eosio.bios"
contractDir="unittests/contracts/old_versions/v1.7.0-develop-preactivate_feature/%s" % (contract)
contractDir="libraries/testing/contracts/old_versions/v1.7.0-develop-preactivate_feature/%s" % (contract)
wasmFile="%s.wasm" % (contract)
abiFile="%s.abi" % (contract)

Expand Down

0 comments on commit c168977

Please sign in to comment.