Michael van Tellingen
0ebe344a27
Merge tests.integration with tests.unit
The idea of splitting integration from unittests is good in theory
but leads to a lot of mental overhead. Besides whenever a tests
interacts with a database it isn't a unittest anyway.
9 年前
Michael van Tellingen
28ea962ab6
Rename all tests files from *_tests.py to test_*.py
Better to use filenames which are commonly used in the python word then
custom ones.
9 年前
Michael van Tellingen
40bd5b4639
Use altered StockRecord model in tests
The test suite brings it's own stock record model for testing. Django
1.7 requires that we only import models from apps in INSTALLED_APPS, so
we need to use it to avoid clashes.
11 年前
Maik Hoepfel
9491cb2bb3
Rename partner.utils to partner.importers, and comments
It only contains importers. Also added comments about their usage,
or lack thereof.
12 年前
Maik Hoepfel
0b48f6f928
Rename poorly named partner.exceptions.ImportError
Naming it like a built-in exception makes it hard to distinguish between
the two and is error prone.
12 年前
Xavier Ordoquy
0a1b4a60c7
assertEquals deprecated in favor of assertEqual
12 年前
David Winterbottom
7b6fd5f98d
Remove use of product.stockrecord in tests
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
94e9de23c8
Fix fixtures for import tests
12 年前
David Winterbottom
0dc6816a93
Extract functionality from oscar.test into separate package
Fixes #376
13 年前
David Winterbottom
feb8c9a327
Moved tests into separate package.
Also split them into unit and functional tests.
13 年前
David Winterbottom
17aa78126c
Reorganised the partner tests
14 年前
David Winterbottom
59952e0351
Moved some fixtures around.
14 年前
David Winterbottom
8bcbfbec33
Moved all templatetags, fixtures and management commands.
Now they are always available within the oscar app.
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
39dd0b6508
Corrected all exceptions to use pep8 naming convention
14 年前
David Winterbottom
7a2a4e2eef
Moved import_catalogue into the partner app
14 年前
David Winterbottom
ee1c921c05
Renamed 'stock' app to 'partner'
14 年前
David Winterbottom
f0ebc83455
Renamed partner_reference to partner_sku
14 年前
David Winterbottom
55c48c7439
Renamed partner_reference to partner_sku
14 年前
David Winterbottom
d0449d2f44
Renamed import command and added books sample file for importing
14 年前
David Winterbottom
03ec9d18d5
Renamed import command and added books sample file for importing
14 年前
David Winterbottom
395107b77a
Refactored much of CSV import app
14 年前
David Winterbottom
de14e850ad
Reworked tests to be cleaner and more readable
14 年前
David Winterbottom
bae1dd4512
Reworked tests to not use dynamic include
14 年前