Closed longstoned closed 2 years ago
Ciao @longstoned
can you share the spid-sp-test command you used?
do you configure the correct --profile
for soggetto aggregatore?
Ciao @peppelinux :)
Hmm.. no--profile
issued, so possibly my bad.
I just used spid_sp_test --metadata-url
--profile
option via spid_sp_test -h (on 1.1.5)
Summary:
Spid QA: executed 127 tests, 1 failed. 0 warnings.
see -h
and configure the right profile for your SP
ohhh I see...
There's -pr
option which also has --profile
but it's a quite a bit hidden after all the possible values
Summary now (with --profile spid-sp-ag-public-full
)
Spid QA: executed 135 tests, 0 failed. 0 warnings
.
Thanks a lot @peppelinux
Hi,
not a Python expert at all, firstly. I am experiencing a strange validation error, possibile related to the line in [1] but I am confused. For v. 1.1.5 of spid_sp_test I am getting the following:
for a pub-ag-full SP with this kind of structure (Contacts section, edited here):
This structure should be supported and non error-flagged... Actually I identified [1] but I am NOT entirely convinced it is there the problem (supposing my XML metadata is fine).. because the function defintion uses (apparently...) some default parameter values, here's the signature:
def test_Contacts_PubPriv(self, contact_type="other", entity_type="")
and entityType..seems to be set correctly... which makes me wonder.. why is the Xpath/code triggering the error? Seems like.. this section is triggered:
which.. looks impossible if I understand correctly the call from [1]... Also strange... immediately following [1] there's another call with another entityType.. so.. I would expect 2 (two) errors... (one for aggregated and one for aggregator)..
Is this XML structure really incorrect? or there's some..ghost call around or I don't know exactly how to say it.
Thank you.
Diego
[1] https://github.com/italia/spid-sp-test/blob/58afa3fa0b3dd1a3f7accbb085975943c1e31588/src/spid_sp_test/metadata.py#L962