b4w dummy data
This commit is contained in:
@@ -33,6 +33,15 @@ def test_b4w_export_account_iban_to_short():
|
||||
_ = B4wExportFactory.build(OwnrAcctIBAN="DE123")
|
||||
|
||||
|
||||
def test_b4w_export_parameters_to_dict():
|
||||
data = B4wExportFactory.build()
|
||||
params = data.parameters_to_dict()
|
||||
expected = sorted(field.alias for field in B4wExport.model_fields.values())
|
||||
assert sorted(params) == expected
|
||||
assert "OwnrAcctCcy" in params
|
||||
assert all(isinstance(value, str) for value in params.values())
|
||||
|
||||
|
||||
def test_b4w_export_parameters_to_str():
|
||||
data = B4wExportFactory.build()
|
||||
params = data.parameters_to_str()
|
||||
|
||||
Reference in New Issue
Block a user