Skip to content

Commit

Permalink
Merge pull request #140 from italia/dev
Browse files Browse the repository at this point in the history
fix: missing ipacode on public/private sp
  • Loading branch information
Giuseppe De Marco authored Jul 7, 2022
2 parents e7ac164 + 68ea6bd commit ce8aefd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/spid_sp_test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


BASE_DIR = Path(__file__).resolve().parent
__version__ = "1.2.1"
__version__ = "1.2.2"
__name__ = "spid_sp_test"
logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion src/spid_sp_test/metadata_public.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def test_Contacts_IPACode(
)

elif public:
if ipacode[0].text == "__aggrsint":
if ipacode and ipacode[0].text == "__aggrsint":
self._assertFalse(
entity_type == "spid:aggregated",
("The IPACode __aggrsint should be used only for test metadata."),
Expand Down

0 comments on commit ce8aefd

Please sign in to comment.