All test passed. Acceptance tests passed too

This commit is contained in:
Sangat Das
2022-01-20 17:15:37 +00:00
parent 24f34f01cb
commit 4ddfcb0d8d
42 changed files with 182 additions and 182 deletions

View File

@@ -24,7 +24,7 @@
import os
# For this test case we import and use the Python Driver.
from bigchaindb_driver import Planetmint
from bigchaindb_driver import BigchainDB
from bigchaindb_driver.crypto import generate_keypair
@@ -34,7 +34,7 @@ def test_basic():
# connect to localhost, but you can override this value using the env variable
# called `PLANETMINT_ENDPOINT`, a valid value must include the schema:
# `https://example.com:9984`
bdb = Planetmint(os.environ.get('PLANETMINT_ENDPOINT'))
bdb = BigchainDB(os.environ.get('PLANETMINT_ENDPOINT'))
# ## Create keypairs
# This test requires the interaction between two actors with their own keypair.

View File

@@ -29,7 +29,7 @@ import pytest
from bigchaindb_driver.exceptions import BadRequest
# For this test case we import and use the Python Driver.
from bigchaindb_driver import Planetmint
from bigchaindb_driver import BigchainDB
from bigchaindb_driver.crypto import generate_keypair
@@ -37,7 +37,7 @@ def test_divisible_assets():
# ## Set up a connection to Planetmint
# Check [test_basic.py](./test_basic.html) to get some more details
# about the endpoint.
bdb = Planetmint(os.environ.get('PLANETMINT_ENDPOINT'))
bdb = BigchainDB(os.environ.get('PLANETMINT_ENDPOINT'))
# Oh look, it is Alice again and she brought her friend Bob along.
alice, bob = generate_keypair(), generate_keypair()

View File

@@ -12,12 +12,12 @@ from threading import Thread
import queue
import bigchaindb_driver.exceptions
from bigchaindb_driver import Planetmint
from bigchaindb_driver import BigchainDB
from bigchaindb_driver.crypto import generate_keypair
def test_double_create():
bdb = Planetmint(os.environ.get('PLANETMINT_ENDPOINT'))
bdb = BigchainDB(os.environ.get('PLANETMINT_ENDPOINT'))
alice = generate_keypair()
results = queue.Queue()

View File

@@ -25,7 +25,7 @@
import os
# For this test case we import and use the Python Driver.
from bigchaindb_driver import Planetmint
from bigchaindb_driver import BigchainDB
from bigchaindb_driver.crypto import generate_keypair
@@ -33,7 +33,7 @@ def test_multiple_owners():
# ## Set up a connection to Planetmint
# Check [test_basic.py](./test_basic.html) to get some more details
# about the endpoint.
bdb = Planetmint(os.environ.get('PLANETMINT_ENDPOINT'))
bdb = BigchainDB(os.environ.get('PLANETMINT_ENDPOINT'))
# Hey Alice and Bob, nice to see you again!
alice, bob = generate_keypair(), generate_keypair()

View File

@@ -24,7 +24,7 @@ from blns import blns
import pytest
# For this test case we import and use the Python Driver.
from bigchaindb_driver import Planetmint
from bigchaindb_driver import BigchainDB
from bigchaindb_driver.crypto import generate_keypair
from bigchaindb_driver.exceptions import BadRequest
@@ -36,7 +36,7 @@ def send_naughty_tx(asset, metadata):
# ## Set up a connection to Planetmint
# Check [test_basic.py](./test_basic.html) to get some more details
# about the endpoint.
bdb = Planetmint(os.environ.get('PLANETMINT_ENDPOINT'))
bdb = BigchainDB(os.environ.get('PLANETMINT_ENDPOINT'))
# Here's Alice.
alice = generate_keypair()

View File

@@ -27,7 +27,7 @@ from uuid import uuid4
# [websocket](https://github.com/websocket-client/websocket-client) module
from websocket import create_connection
from bigchaindb_driver import Planetmint
from bigchaindb_driver import BigchainDB
from bigchaindb_driver.crypto import generate_keypair
@@ -40,7 +40,7 @@ def test_stream():
# *That's pretty bad, but let's do like this for now.*
WS_ENDPOINT = 'ws://{}:9985/api/v1/streams/valid_transactions'.format(BDB_ENDPOINT.rsplit(':')[0])
bdb = Planetmint(BDB_ENDPOINT)
bdb = BigchainDB(BDB_ENDPOINT)
# Hello to Alice again, she is pretty active in those tests, good job
# Alice!