removed ECDSA support in tests config

This commit is contained in:
diminator 2016-04-07 17:05:57 +02:00
parent 56a1bb5e1d
commit 12ce460400
No known key found for this signature in database
GPG Key ID: C3D8590E6D0D439A

View File

@ -14,21 +14,7 @@ import pytest
DB_NAME = 'bigchain_test_{}'.format(os.getpid())
CONFIG_ECDSA = {
'database': {
'name': DB_NAME
},
'keypair': {
'private': '3i2FDXp87N9ExXSvWxqBAw9EgzoxxGTQNKbtxmWBpTyL',
'public': '29Tw3ozmSRtN8XNofvsu5RdoQRk9gAonfpkFvRZDmhTPo'
}
}
# Test user. inputs will be created for this user. Cryptography Keys
USER_PRIVATE_KEY_ECDSA = 'GmRZxQdQv7tooMijXytQkexKuFN6mJocciJarAmMwTX2'
USER_PUBLIC_KEY_ECDSA = 'r3cEu8GNoz8rYpNJ61k7GqfR8VEvdUbtyHce8u1kaYwh'
CONFIG_ED25519 = {
CONFIG = {
'database': {
'name': DB_NAME
},
@ -39,8 +25,8 @@ CONFIG_ED25519 = {
}
# Test user. inputs will be created for this user. Cryptography Keys
USER_PRIVATE_KEY_ED25519 = '8eJ8q9ZQpReWyQT5aFCiwtZ5wDZC4eDnCen88p3tQ6ie'
USER_PUBLIC_KEY_ED25519 = 'JEAkEJqLbbgDRAtMm8YAjGp759Aq2qTn9eaEHUj2XePE'
USER_PRIVATE_KEY = '8eJ8q9ZQpReWyQT5aFCiwtZ5wDZC4eDnCen88p3tQ6ie'
USER_PUBLIC_KEY = 'JEAkEJqLbbgDRAtMm8YAjGp759Aq2qTn9eaEHUj2XePE'
@pytest.fixture
@ -51,17 +37,17 @@ def restore_config(request, node_config):
@pytest.fixture(scope='module')
def node_config():
return copy.deepcopy(CONFIG_ED25519)
return copy.deepcopy(CONFIG)
@pytest.fixture
def user_private_key():
return USER_PRIVATE_KEY_ED25519
return USER_PRIVATE_KEY
@pytest.fixture
def user_public_key():
return USER_PUBLIC_KEY_ED25519
return USER_PUBLIC_KEY
@pytest.fixture