generated from Hochfrequenz/python_template_repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump ibims from 0.3.0 to 0.3.4 (#149)
* Bump ibims from 0.3.0 to 0.3.4 Bumps [ibims](https://github.com/Hochfrequenz/intermediate-bo4e-migration-models) from 0.3.0 to 0.3.4. - [Release notes](https://github.com/Hochfrequenz/intermediate-bo4e-migration-models/releases) - [Commits](Hochfrequenz/intermediate-bo4e-migration-models@v0.3.0...v0.3.4) --- updated-dependencies: - dependency-name: ibims dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Adjust pvtool to current BO4E * Update pyproject.toml (#150) * Update pyproject.toml * Update requirements.in * Small changes --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Stefan Heese <[email protected]> Co-authored-by: konstantin <[email protected]>
- Loading branch information
1 parent
77f0286
commit 0aa2a2c
Showing
6 changed files
with
28 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
bomf | ||
pvframework>=0.0.8 | ||
ibims>=0.2.0 | ||
ibims>=0.3.4 | ||
python-dateutil | ||
pydantic[email] | ||
more_itertools | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,10 @@ | |
Bankverbindung, | ||
Geschaeftspartner, | ||
Kontaktart, | ||
Kontaktweg, | ||
Landescode, | ||
SepaInfo, | ||
Titel, | ||
Typ, | ||
Vertrag, | ||
VertragskontoCBA, | ||
|
@@ -46,11 +48,12 @@ async def test_good_data_set(self, customer_validation_manager): | |
geschaeftspartner=Geschaeftspartner.model_construct( | ||
zusatz_attribute=[ZusatzAttribut(name="customerID", wert="209876543")], | ||
typ="GESCHAEFTSPARTNER", | ||
name1="Mustermann", | ||
name2="Max", | ||
name3="Prof.", | ||
nachname="Mustermann", | ||
vorname="Max", | ||
titel=Titel.PROF, | ||
anrede=Anrede.HERR, | ||
e_mail_adresse="[email protected]", | ||
kontaktwege=[Kontaktweg.model_construct(kontaktart=Kontaktart.E_MAIL, wert="[email protected]")], | ||
# e_mail_adresse="[email protected]", | ||
telefonnummer_mobil="+49 (0) 1324832749", | ||
telefonnummer_geschaeft="(01575) 01294673", | ||
telefonnummer_privat="0221 937436", | ||
|
@@ -125,9 +128,8 @@ async def test_good_data_set(self, customer_validation_manager): | |
zusatz_attribute=[], | ||
typ=Typ.GESCHAEFTSPARTNER, | ||
version="1", | ||
name1=" Mustermann", | ||
name2=" Max", | ||
name3="No Prof.", | ||
nachname=" Mustermann", | ||
vorname=" Max", | ||
anrede=Anrede.FAMILIE, # Anrede.INDIVIDUELL nicht mehr vorhanden | ||
e_mail_adresse="test@test", | ||
telefonnummer_mobil="0392ujdi", | ||
|
@@ -204,9 +206,8 @@ async def test_good_data_set(self, customer_validation_manager): | |
], | ||
), | ||
[ | ||
"geschaeftspartner.name1 must not start or end with whitespace.", | ||
"geschaeftspartner.name2 must not start or end with whitespace.", | ||
"geschaeftspartner.name3 must be one of the following", | ||
"geschaeftspartner.nachname must not start or end with whitespace.", | ||
"geschaeftspartner.vorname must not start or end with whitespace.", | ||
"The part after the @-sign is not valid. It should have a period", # E-Mail | ||
"No Zusatzattribute with name customerID", | ||
"geschaeftspartner.erstellungsdatum must be in the past", | ||
|
@@ -245,8 +246,8 @@ async def test_good_data_set(self, customer_validation_manager): | |
), | ||
[ | ||
"geschaeftspartner.anrede: None is not an instance of ibims.bo4e.enum.anrede.Anrede", | ||
"geschaeftspartner.name1: value not provided", | ||
"geschaeftspartner.name2: value not provided", | ||
"geschaeftspartner.nachname: value not provided", | ||
"geschaeftspartner.vorname: None is not an instance of str", | ||
"geschaeftspartner.geburtstag: None is not an instance of datetime.datetime", | ||
"geschaeftspartner.erstellungsdatum: None is not an instance of datetime.datetime", | ||
"geschaeftspartner.zusatz_attribute: None is not a list", | ||
|