~homeworkprod/byceps

ref: 4d64fc328a86338ae76b38da85d5ddb965a81c61 byceps/tests/integration/blueprints/admin/shop/order/test_order_export.py -rw-r--r-- 4.5 KiB
3d7b49f0 — Jochen Kupperschmidt 8 months ago
Update copyright notes for 2021
0b51dd42 — Jochen Kupperschmidt 10 months ago
Refer to license as "Revised BSD" to clarify that it is not customized

The common name "Modified BSD License" for the 3-clause BSD license can
be misleading as it might suggest it is a BSD license customized by the
project author.

To avoid this, refer to the license under one of its other names
instead.
9f9259fd — Jochen Kupperschmidt 11 months ago
Use admin-specific client fixtures in admin blueprint tests
531a863e — Jochen Kupperschmidt 1 year, 17 days ago
Move shop order sequence service function frontends to new service in order package
42833a98 — Jochen Kupperschmidt 1 year, 17 days ago
Extract test fixture factory to create admin user with permissions and role
6ac2022a — Jochen Kupperschmidt 1 year, 1 month ago
Load order XML export fixture from file via `py.path`'s `read_text`
bcd9f0f8 — Jochen Kupperschmidt 1 year, 1 month ago
Find order XML export fixture file indepedent of working directory
d099ffa7 — Jochen Kupperschmidt 1 year, 1 month ago
Move `order_export.xml` to the same path as the test that uses it
704d0f16 — Jochen Kupperschmidt 1 year, 1 month ago
Add total quantity field to shop article, initialize quantity from it

DDL:

    ALTER TABLE shop_articles ADD COLUMN total_quantity integer;

    -- And after updating all existing articles with a total quantity:
    ALTER TABLE shop_articles ALTER COLUMN total_quantity SET NOT NULL;
5d61db8c — Jochen Kupperschmidt 1 year, 3 months ago
Rename test users to avoid clash
48d0a3e7 — Jochen Kupperschmidt 1 year, 4 months ago
Pass storefront ID instead of shop ID for order placement

The order number sequence is obtained via the storefront instead of the
shop now.
49c3e9af — Jochen Kupperschmidt 1 year, 4 months ago
Delete shop number sequences via sequence ID
1ce2cdc8 — Jochen Kupperschmidt 1 year, 4 months ago
Move integration tests into sub-path
88490861 — Jochen Kupperschmidt 1 year, 4 months ago
*Return* (not `yield`) in user factory fixture's wrapper

Inline unnecessary `make_user`-based fixtures along the way.
c329485b — Jochen Kupperschmidt 1 year, 4 months ago
Rework domain name occurences in tests
a0ef3643 — Jochen Kupperschmidt 1 year, 5 months ago
Tear down article fixtures via ID
af988028 — Jochen Kupperschmidt 1 year, 5 months ago
Merge `admin_app_with_db` fixture into `admin_app`
b1b869e4 — Jochen Kupperschmidt 1 year, 5 months ago
Use `make_user`
8b275696 — Jochen Kupperschmidt 1 year, 5 months ago
Use single admin app fixture with database
5c162ecb — Jochen Kupperschmidt 1 year, 5 months ago
Tear down shop number sequences in tests
Next