Feat(WIP): Lineas Eliminadas
This commit is contained in:
@@ -43,13 +43,30 @@ def test_print_customer_order():
|
||||
assert response.content.decode() == "!Impresion Realizada!"
|
||||
|
||||
|
||||
def test_print_customer_order_deleted_lines():
|
||||
test_info = {
|
||||
"content": str(
|
||||
json.dumps(
|
||||
load_json(
|
||||
'test/fixtures/customer_order_deleted_lines.json')
|
||||
)),
|
||||
"ip_printer": "192.168.1.110",
|
||||
"user_name": "Juan"
|
||||
}
|
||||
|
||||
response = client.post("/order_kitchen", json=test_info)
|
||||
|
||||
assert response.status_code == 200
|
||||
assert response.content.decode() == "!Impresion Realizada!"
|
||||
|
||||
|
||||
def test_print_bar_order():
|
||||
test_info = {
|
||||
"content": str(
|
||||
json.dumps(
|
||||
load_json('test/fixtures/customer_order.json')
|
||||
)),
|
||||
"ip_printer": "192.168.1.100",
|
||||
"ip_printer": "192.168.1.110",
|
||||
"user_name": "Juan"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user