The great bump

This commit is contained in:
2021-08-06 16:29:01 +00:00
parent f764b73f66
commit 0672a17d2e
195 changed files with 5791 additions and 4983 deletions

View File

@@ -14,7 +14,7 @@ There are four files defining the integration tests.
## REQUIREMENTS
In order to run the transaction tests, please ensure that the faucet amount is set to a non-zero value, ideally `50000000`
which is the value set in the config file `.config/test/integration.ini`.
which is the value set in the config file `config/test/integration.ini`.
This implies setting the `DEV_FAUCET_AMOUNT` to a non-zero value before bringing up the contract-migration image:

View File

@@ -1,2 +1,2 @@
#!/bin/bash
PYTHONPATH=. py.test --debug -vv --log-level debug -s --log-cli-level debug
PYTHONPATH=. pytest --log-level debug -x .

View File

@@ -37,12 +37,13 @@ stages:
status_code:
- 200
headers:
Content-Length: '175'
Content-Length: '91'
Content-Type: "text/plain"
verify_response_with:
function: ext.validator:validate_response
extra_kwargs:
expected_response: "END Your account is being created. You will receive an SMS when your account is ready.\nAkaunti yako ya Sarafu inatayarishwa. Utapokea ujumbe wa SMS akaunti yako ikiwa tayari.\n"
expected_response: "END Akaunti yako ya Sarafu inatayarishwa. Utapokea ujumbe wa SMS akaunti yako ikiwa tayari."
delay_after: 5
- name: Initiate account creation process [second account].
request:
@@ -59,12 +60,12 @@ stages:
status_code:
- 200
headers:
Content-Length: '175'
Content-Length: '91'
Content-Type: "text/plain"
verify_response_with:
function: ext.validator:validate_response
extra_kwargs:
expected_response: "END Your account is being created. You will receive an SMS when your account is ready.\nAkaunti yako ya Sarafu inatayarishwa. Utapokea ujumbe wa SMS akaunti yako ikiwa tayari.\n"
expected_response: "END Akaunti yako ya Sarafu inatayarishwa. Utapokea ujumbe wa SMS akaunti yako ikiwa tayari."
delay_after: 5
- name: Initaite account metadata entry [first account]
@@ -82,12 +83,12 @@ stages:
status_code:
- 200
headers:
Content-Length: '61'
Content-Length: '57'
Content-Type: "text/plain"
verify_response_with:
function: ext.validator:validate_response
extra_kwargs:
expected_response: "CON Welcome to Sarafu Network\n1. English\n2. Kiswahili\n3. Help"
expected_response: "CON Karibu Sarafu Network\n1. English\n2. Kiswahili\n3. Help"
- name: Initaite account metadata entry [second account]
request:
@@ -104,12 +105,12 @@ stages:
status_code:
- 200
headers:
Content-Length: '61'
Content-Length: '57'
Content-Type: "text/plain"
verify_response_with:
function: ext.validator:validate_response
extra_kwargs:
expected_response: "CON Welcome to Sarafu Network\n1. English\n2. Kiswahili\n3. Help"
expected_response: "CON Karibu Sarafu Network\n1. English\n2. Kiswahili\n3. Help"
- name: Select preferred language [English]
request:
@@ -126,12 +127,13 @@ stages:
status_code:
- 200
headers:
Content-Length: '64'
Content-Length: '71'
Content-Type: "text/plain"
verify_response_with:
function: ext.validator:validate_response
extra_kwargs:
expected_response: "CON Please enter a new four number PIN for your account.\n0. Back"
expected_response: "CON Tafadhali weka pin mpya yenye nambari nne kwa akaunti yako\n0. Nyuma"
delay_after: 5
- name: Select preferred language [Kiswahili]
request:
@@ -154,6 +156,7 @@ stages:
function: ext.validator:validate_response
extra_kwargs:
expected_response: "CON Tafadhali weka pin mpya yenye nambari nne kwa akaunti yako\n0. Nyuma"
delay_after: 5
- name: Enter pin number [{first_account_pin_number} - first account]
request:
@@ -176,6 +179,7 @@ stages:
function: ext.validator:validate_response
extra_kwargs:
expected_response: "CON Enter your four number PIN again\n0. Back"
delay_after: 5
- name: Enter pin number [second_account_pin_number - second account]
request:
@@ -198,6 +202,7 @@ stages:
function: ext.validator:validate_response
extra_kwargs:
expected_response: "CON Weka PIN yako tena\n0. Nyuma"
delay_after: 5
- name: Pin number confirmation [first_account_pin_number - first account]
request:

View File

@@ -162,12 +162,13 @@ stages:
status_code:
- 200
headers:
Content-Length: '30'
Content-Length: '36'
Content-Type: "text/plain"
verify_response_with:
function: ext.validator:validate_response
extra_kwargs:
expected_response: "END Asante kwa kutumia huduma."
expected_response: "END Thank you for using the service."
delay_after: 5
- name: Select language [second account]
request:
@@ -184,12 +185,13 @@ stages:
status_code:
- 200
headers:
Content-Length: '36'
Content-Length: '30'
Content-Type: "text/plain"
verify_response_with:
function: ext.validator:validate_response
extra_kwargs:
expected_response: "END Thank you for using the service."
expected_response: "END Asante kwa kutumia huduma."
delay_after: 5
- name: Second account management start menu [first account]
request:
@@ -512,12 +514,12 @@ stages:
status_code:
- 200
headers:
Content-Length: '31'
Content-Length: '43'
Content-Type: "text/plain"
verify_response_with:
function: ext.validator:validate_response
extra_kwargs:
expected_response: "CON Weka PIN yako tena\n0. Nyuma"
expected_response: "CON Weka nambari yako ya siri tena\n0. Nyuma"
- name: Enter new pin [second account]
request: