David Winterbottom
1100e8f413
Adjust importing of models for factories
Using get_classes for models isn't the right way.
12年前
David Winterbottom
2ebb8630d9
Fix bug introduced in ccd1635 re product factory
The backported version didn't explicitly create the ProductAttribute
instances before assigning and so they didn't save.
12年前
David Winterbottom
ccd16355e1
Backport some additions to the test support package
12年前
Maik Hoepfel
bacfbeb6a3
Update ClientTestCase for Django 1.5
12年前
Maik Hoepfel
8f9d5db31f
Move django-oscar-testsupport into oscar.test
This allows updating code in both places, if necessary. Getting Django
1.5 support would be painful otherwise. This also removes the circular
dependency of django-oscar-testsupport on Oscar.
The requirements were merged. The imports were updated
accordingly. Unused imports in the touched files were removed. No
further changes.
12年前
David Winterbottom
0dc6816a93
Extract functionality from oscar.test into separate package
Fixes #376
13年前
David Winterbottom
d94fdf4e24
Replace local patch_settings decorator with Django's override_settings
It didn't exist when I wrote patch_settings but now there's not point
having two versions of the same thing.
13年前
Sebastian Vetter
bcc9ced367
Add convenience wrapper for webtest
Fixes #367
13年前
David Winterbottom
64e2946081
Improve offer fixture generator
13年前
David Winterbottom
436f608aa6
Pylint house-keeping
13年前
David Winterbottom
e68a43f1cd
Fix bug with clean method on category form
13年前
David Winterbottom
f0457323f7
Rework customer functional tests
* Tests now split into more coherent modules
* Added IDs to forms to help WebTest
* Some refactoring along the way
13年前
David Winterbottom
da2f16f896
Refactor absolute discount benefit tests.
Now using --spec format which is more readable (most of the time).
13年前
David Winterbottom
55fb5cf6d4
Rework profile view to be TemplateView rather than ListView
ListView doesn't make sense when you are not paginating
13年前
Sebastian Vetter
697e840670
removed hardcoded imports in helpers module
13年前
Asia Biega
2ac0314639
Enable creating zero-priced products in tests
13年前
David Winterbottom
256ee97977
Updated product form to handle creating group products.
The validation on the stockrecord form needed to be removed to allow
group products to be created, which don't have stock records.
13年前
David Winterbottom
e8d998039f
Updated test client to make logging in explicit
13年前
David Winterbottom
94c1a3ce32
Added tests for anonymous checkout using a voucher
13年前
David Winterbottom
feb8c9a327
Moved tests into separate package.
Also split them into unit and functional tests.
13年前
David Winterbottom
52fd1a1200
Fixed tests for scales
13年前
David Winterbottom
ad28043a7c
Fixed bug in default stock wrapper logic
Plus wrote a few more tests for the partner app
14年前
David Winterbottom
da88c822c2
Added sophisticated product adding to range form
14年前
David Winterbottom
21e15e4bfa
Corrected bug in session keys for saving objects
14年前
David Winterbottom
2c0e888e49
Reworked the dashboard index page.
Pushed the form-driven functionality back onto its own page within order
management. The dashboard index is now static and the page is more
coherent as a whole.
14年前
David Winterbottom
4ba8c0251e
Added constraint so that partner and partner SKU are unique together
14年前
David Winterbottom
4bc8104ec6
Links form order app to voucher/offer broken.
This is probably a breaking change for most people as the migration
history for the order app has been rewritten. It will take some
fiddling around with south to get your system back in order.
This change is required though as we need to break the links between the
apps.
14年前
David Winterbottom
86445da6d3
Products can now be created using dashboard
14年前
David Winterbottom
6a41566c51
Added basic create form and redirect for raw HTML promotion
14年前
David Winterbottom
0e66a5089f
Removed twill from dependencies
14年前
David Winterbottom
da940a44aa
Removed some fixtures, replacing with helper methods
14年前
David Winterbottom
fc3e9614cb
Added settings to allow order/line statuses to be set.
14年前
David Winterbottom
eed16f7d16
Added an order summary view to order dashboard
14年前
David Winterbottom
f257545cba
Added status pipeline to order and line.
This allows the flow of statuses for an order to be controlled.
14年前
David Winterbottom
4007c9748d
Moved orders app into sub-folder of dashboard
14年前
David Winterbottom
1b8117b4fe
Moved reporting app into dashboard
14年前
David Winterbottom
045daf011a
Added verification method to order model and updated test helpers to
help create orders for testing.
14年前
David Winterbottom
d47a604ff4
Added scales for weighing products and baskets
14年前
David Winterbottom
a807098a43
Fixed offer bug where baskets with lines with no stock record were causing an error
14年前
David Winterbottom
1a54ab13ad
Added better handling of null values when returning net stock level
14年前
David Winterbottom
5b7b990b20
MASSIVE commit as the word 'item' is phased out in favour of 'product' to make things more consistent. Also, renamed product app to catalogue
14年前
David Winterbottom
f801e5d06b
Corrected docblock of test decorator and reverted commented out tests
14年前
David Winterbottom
496a145bc5
Added dataProvider decorator
14年前
David Winterbottom
96a90e6d4b
Added Twill base test case
14年前
David Winterbottom
ee1c921c05
Renamed 'stock' app to 'partner'
15年前
David Winterbottom
a695217d05
Added stock logic wrappers for different partners
15年前
David Winterbottom
b809cb7867
Added stock logic wrappers for different partners
15年前
David Winterbottom
de14e850ad
Reworked tests to be cleaner and more readable
15年前
David Winterbottom
45a0755c2a
Updated create_product test helper to accept extra kwargs
15年前
David Winterbottom
887d605757
Refactored folder structure to use an 'apps' folder
15年前