Skip to content

Commit e0f778a

Browse files
authored
Repair BDD integration release tests (openwallet-foundation#3605)
* Repair BDD integration release tests Signed-off-by: jamshale <jamiehalebc@gmail.com> * Remove a few more mediation tests Signed-off-by: jamshale <jamiehalebc@gmail.com> * Remove Failing tag Signed-off-by: jamshale <jamiehalebc@gmail.com> * Add back function to agent_container Signed-off-by: jamshale <jamiehalebc@gmail.com> --------- Signed-off-by: jamshale <jamiehalebc@gmail.com>
1 parent 2c8629a commit e0f778a

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

demo/features/0453-issue-credential.feature

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ Feature: RFC 0453 Aries agent issue credential
1717
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Acme_extra | Bob_extra |
1818
| --public-did --did-exchange | --did-exchange | driverslicense | Data_DL_NormalizedValues | | |
1919

20-
@Release @WalletType_Askar @AltTests
21-
Examples:
22-
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Acme_extra | Bob_extra |
23-
| --public-did | | driverslicense | Data_DL_NormalizedValues | | |
24-
| --public-did --mediation | --mediation | driverslicense | Data_DL_NormalizedValues | | |
25-
| --public-did --multitenant | --multitenant --log-file | driverslicense | Data_DL_NormalizedValues | | |
26-
2720
@Release @WalletType_Askar_AnonCreds @BasicTest @cred_type_vc_di
2821
Examples:
2922
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Acme_extra | Bob_extra |
@@ -208,10 +201,8 @@ Feature: RFC 0453 Aries agent issue credential
208201
Examples:
209202
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Key_type | Sig_type |
210203
| --public-did --cred-type json-ld --did-exchange | --did-exchange | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2018 |
211-
| --public-did --cred-type json-ld --mediation | --mediation | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2018 |
212204
| --public-did --cred-type json-ld --multitenant --log-file | --multitenant | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2018 |
213205
| --public-did --cred-type json-ld --did-exchange | --did-exchange | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2020 |
214-
| --public-did --cred-type json-ld --mediation | --mediation | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2020 |
215206
| --public-did --cred-type json-ld --multitenant --log-file | --multitenant | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2020 |
216207

217208
@Release @WalletType_Askar @BBS
@@ -277,10 +268,8 @@ Feature: RFC 0453 Aries agent issue credential
277268
Examples:
278269
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Key_type | Sig_type |
279270
| --public-did --cred-type json-ld --did-exchange | --did-exchange | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2018 |
280-
| --public-did --cred-type json-ld --mediation | --mediation | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2018 |
281271
| --public-did --cred-type json-ld --multitenant | --multitenant | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2018 |
282272
| --public-did --cred-type json-ld --did-exchange | --did-exchange | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2020 |
283-
| --public-did --cred-type json-ld --mediation | --mediation | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2020 |
284273
| --public-did --cred-type json-ld --multitenant | --multitenant | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2020 |
285274

286275
@Release @WalletType_Askar @BBS

demo/features/0586-sign-transaction.feature

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ Feature: RFC 0586 Aries sign (endorse) transactions functions
2323
Examples:
2424
| Acme_capabilities | Bob_capabilities | Schema_name |
2525
| --did-exchange | --did-exchange | driverslicense |
26-
| --mediation | --mediation | driverslicense |
2726
| --multitenant | --multitenant | driverslicense |
28-
| --mediation --multitenant | --mediation --multitenant | driverslicense |
2927

3028
@TODO @Mulitledger
3129
Examples:
@@ -110,8 +108,6 @@ Feature: RFC 0586 Aries sign (endorse) transactions functions
110108
Examples:
111109
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data |
112110
| --revocation --public-did --did-exchange | --revocation --did-exchange | driverslicense | Data_DL_NormalizedValues |
113-
| --revocation --public-did --mediation | --revocation --mediation | driverslicense | Data_DL_NormalizedValues |
114-
| --revocation --public-did --mediation --multitenant | --revocation --mediation --multitenant | driverslicense | Data_DL_NormalizedValues |
115111

116112
@Mulitledger
117113
Examples:

demo/runners/agent_container.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ async def handle_present_proof(self, message):
394394
if credentials:
395395
for row in sorted(
396396
credentials,
397-
key=lambda c: int(c["cred_info"]["attrs"]["timestamp"]),
397+
key=lambda c: int(c["cred_info"]["attrs"].get("timestamp", 0)),
398398
reverse=True,
399399
):
400400
for referent in row["presentation_referents"]:
@@ -500,7 +500,7 @@ async def handle_present_proof_v2_0(self, message):
500500
sorted_creds = sorted(
501501
creds,
502502
key=lambda c: int(
503-
c["cred_info"]["attrs"]["timestamp"]
503+
c["cred_info"]["attrs"].get("timestamp", 0)
504504
),
505505
reverse=True,
506506
)

0 commit comments

Comments
 (0)