Oliver
6d2cd78d29
Fixes for unit tests
2021-06-22 10:36:04 +10:00
Oliver
9475af62ae
Style fixes
2021-06-22 10:12:44 +10:00
Oliver
c62ba5eb12
Perform a "full_clean" on serialized model
...
- DRF does not by deault run validate_unique on the model
- Need to check if we are "creating" or "updating" a model
- Catch and re-throw errors in the correct format
- Unit tests
2021-06-22 10:09:19 +10:00
Oliver
c3fc04e872
Unit testing for part duplication
2021-06-22 09:35:34 +10:00
Matthias
447a7dd4e4
style fix
2021-06-13 15:04:57 +02:00
Matthias
3f04a57452
added test for internal prices
2021-06-13 15:01:03 +02:00
Matthias
3fb95bea7e
added test for sell price breaks
2021-06-13 13:31:31 +02:00
Matthias
f2b0717d10
removes all lines consisting only of spaces
...
this really bothers me for some reason - nothing technical
2021-05-06 12:11:38 +02:00
Oliver Walters
43e03ed023
Update unit tests
2021-02-01 12:26:58 +11:00
Oliver Walters
6c7b648133
Implement global settings for assembly and template values of Part model
2021-01-03 23:06:51 +11:00
Oliver Walters
ae7fbd6112
Add PEP8-naming extension for flake
...
- Enforcing python naming checks
2020-11-12 21:53:04 +11:00
Oliver Walters
a6028f027a
Add setting to allow or prohibit duplicate IPN values
2020-11-10 09:03:26 +11:00
Oliver Walters
c95f124578
Add some helper magic for setting objects
...
- If the setting is defined as a "bool" then the returned value is automatically cast to a bool
- Add some more unit testing
2020-11-09 23:44:54 +11:00
Oliver Walters
b02c87ea50
Lots of work towards multiple build output
2020-11-02 01:24:31 +11:00
Oliver Walters
07adee3c51
Update links to documenation
2020-09-21 22:44:48 +10:00
Oliver Walters
f791ac9f57
Register test template in the admin interface
2020-05-17 13:50:06 +10:00
Oliver Walters
badf9230a9
Add fixtures / unit testing for the stock item testing framework
2020-05-17 13:46:19 +10:00
Oliver Walters
ea88a03b5a
More serial number validation and unit testing
...
-
2020-05-16 08:43:57 +10:00
Oliver Walters
2d6c531fda
Unit testing for part variant MPTT
2020-05-15 22:01:21 +10:00
Oliver Walters
520b8d7b2b
Fix for BOM pricing weirdness
2020-02-12 10:06:17 +11:00
Oliver Walters
77c950a729
Fixed unit tests
2020-02-11 00:39:02 +11:00
Oliver Walters
20273f1541
Add commit date information to about window
2020-02-02 12:39:35 +11:00
Oliver Walters
b5b7dc0fbf
Fix tests
2019-09-17 12:29:18 +10:00
Oliver Walters
e4fc44c135
More test
2019-09-08 20:36:51 +10:00
Oliver Walters
2a203be5cc
Tests for part parameters
2019-09-08 20:18:21 +10:00
Oliver Walters
dac1264878
Fixed unit tests
2019-09-06 12:48:31 +10:00
Oliver Walters
2817e6ca31
Added further part pricing
2019-05-21 14:08:40 +10:00
Oliver Walters
22afccd294
Add tests for the custom templates
2019-05-05 00:21:54 +10:00
Oliver Walters
1f80e8c655
More tests for Part
...
- barcode
- category_path
2019-05-04 23:35:52 +10:00
Oliver Walters
3fda5a3925
Convert test_part to use fixture data
2019-05-04 23:30:41 +10:00
Oliver Walters
1112e5e3e2
PEP fixes
2019-04-25 18:50:22 +10:00
Oliver Walters
2ab8276672
better coverage for part/models
...
- Increase from 57% to 67%
2019-04-25 17:51:02 +10:00
Oliver Walters
7b68310d73
PEP fixes
2019-04-25 03:20:25 +10:00
Oliver Walters
0bc5617825
Reverse url lookup for Part model
2019-04-25 01:00:01 +10:00