Skip to content

Commit

Permalink
[TEST] begin test
Browse files Browse the repository at this point in the history
  • Loading branch information
legalsylvain committed Oct 29, 2023
1 parent e4c94f4 commit c664ef1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,12 @@ def test_10_joint_buying_grouped_order_generate_transport_request(self):

# It should not create a transport request for LSE
self.assertFalse(LSE_order.request_id)

def test_20_transport_request_vev_cda(self):
request = self.env.ref("joint_buying_product.request_vev_cda")
wizard = (
self.env["joint.buying.wizard.find.route"]
.with_context(active_id=request.id)
.create({})
)
wizard.button_apply()
Original file line number Diff line number Diff line change
Expand Up @@ -197,4 +197,3 @@ def _create_following_node(self, tree, parent, line, destination):

def button_apply(self):
self.ensure_one()
raise NotImplementedError()

0 comments on commit c664ef1

Please sign in to comment.