Skip to content

Commit

Permalink
Fixed test for sampletypes import
Browse files Browse the repository at this point in the history
  • Loading branch information
DanE417 committed Aug 16, 2024
1 parent c2dc0e4 commit 92c3734
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ We need to create some basic objects for the test:
>>> date_future = (DateTime() + 5).strftime("%Y-%m-%d")
>>> client = api.create(portal.clients, "Client", Name="Happy Hills", ClientID="HH", MemberDiscountApplies=True)
>>> contact = api.create(client, "Contact", Firstname="Rita", Lastname="Mohale")
>>> sampletype = api.create(bikasetup.bika_sampletypes, "SampleType", title="Water", Prefix="W")
>>> sampletype = api.create(setup.sampletypes, "SampleType", title="Water", Prefix="W")
>>> labcontact = api.create(bikasetup.bika_labcontacts, "LabContact", Firstname="Lab", Lastname="Manager")
>>> department = api.create(setup.departments, "Department", title="Chemistry", Manager=labcontact)
>>> category = api.create(setup.analysiscategories, "AnalysisCategory", title="Metals", Department=department)
Expand Down

0 comments on commit 92c3734

Please sign in to comment.