Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExcelExport test Agent #35

Open
davidvlaminck opened this issue Nov 28, 2024 · 2 comments
Open

ExcelExport test Agent #35

davidvlaminck opened this issue Nov 28, 2024 · 2 comments
Assignees

Comments

@davidvlaminck
Copy link
Owner

This test is testing the wrong things

@VerdoodtDries
Copy link
Collaborator

@davidvlaminck , kan je deze test nakijken?
Bij fill_with_dummy_data() wordt zowel assetId als agentId aangemaakt.

  • assetId.identificator
  • assetId.toegekendDoor
  • agentId.identificator
  • agentId.toegekendDoor

@VerdoodtDries
Copy link
Collaborator

De stap ExcelExporter.from_objects(sequence_of_objects=[agent], filepath=file_location) geeft een bug.

Herschrijf de test zoals deze structuur: test_export_and_then_import_nested_attributes_level_2()

stap1: genereer een object met dummy data
    clear_value() wissen en omvormen naar agent.contactinfo = None

stap2: exporteer
stap3: importeer
stap4: assert - dummy object == geïmporteerd object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants