Skip to content

Commit

Permalink
[IMP] test_pos2023: black, pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
em230418 committed Mar 10, 2024
1 parent 895ba06 commit 5f5f466
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
6 changes: 2 additions & 4 deletions test_pos2023/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"name": "Тестовые сценарии для POS",
"version": "14.0.0.1.0",
"version": "13.0.0.1.0",
"license": "LGPL-3",
"depends": [
"point_of_sale",
],
"depends": ["point_of_sale"],
}
9 changes: 3 additions & 6 deletions test_pos2023/tests/test_session_close.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ def test_late_session_close(self):
orders = []
orders.append(
self.create_ui_order_data(
[(self.product1, 1)],
payments=[(self.cash_pm, 10)],
[(self.product1, 1)], payments=[(self.cash_pm, 10)],
)
)

Expand All @@ -54,8 +53,7 @@ def test_late_session_close(self):
_logger.info("%s: running session %s" % (method_name, i))
self.open_new_session()
order = self.create_ui_order_data(
[(self.product1, 1)],
payments=[(self.cash_pm, 10)],
[(self.product1, 1)], payments=[(self.cash_pm, 10)],
)
self.env["pos.order"].create_from_ui([order])
self.pos_session.action_pos_session_validate()
Expand All @@ -78,8 +76,7 @@ def test_1000_pos_configs(self):
orders = []
orders.append(
self.create_ui_order_data(
[(self.product1, 1)],
payments=[(self.cash_pm, 10)],
[(self.product1, 1)], payments=[(self.cash_pm, 10)],
)
)
self.env["pos.order"].create_from_ui(orders)
Expand Down

0 comments on commit 5f5f466

Please sign in to comment.