Esempio n. 1
0
def test_get_version():
    """ We should be able to call get_version on steemd """
    s = Steemd()
    response = s.call('get_version', api='login_api')
    version = response['blockchain_version']
    assert version[0:4] == '0.19'
Esempio n. 2
0
def test_get_dgp():
    """ We should be able to call get_dynamic_global_properties on steemd """
    s = Steemd()
    response = s.call('get_dynamic_global_properties', api='database_api')
    assert response['head_block_number'] > 20e6