Commit Graph

37 Commits

Author SHA1 Message Date
Jon
d7f231c831 chore(test): Mark test of class attribute existance as a regression test
ref: #896
2025-07-27 12:33:02 +09:30
Jon
6b28dbf346 fix(base): on fixture cleanup, only clean if obj exists
ref: #883 #730
2025-07-24 16:53:04 +09:30
Jon
6e1d0c747d refactor(base): adjust functional model test to use fixture kwargs
ref: #883 #735
2025-07-24 15:36:23 +09:30
Jon
76bf78d3f5 test: Ensure Clean methods called
ref: #873 #445
2025-07-23 08:21:06 +09:30
Jon
f6c1b77c43 test: Test case for model field type
ref: #872
2025-07-21 16:05:40 +09:30
Jon
da865fd5a8 refactor(tests): make all parameterized_ vars properties
ref: #813
2025-07-04 08:40:32 +09:30
Jon
5d09bf04ff chore: Add action to mockview init
ref: #807
2025-07-04 08:40:31 +09:30
Jon
2fe75ba369 chore(base): correct typo
ref: #804
2025-07-04 08:40:30 +09:30
Jon
613ad7e4e4 refactor(base): model instancxe code de-duplicated
ref: #804
2025-07-04 08:40:30 +09:30
Jon
9ed6bcf55c feat(base): add support for manytomany for model unit tests
ref: #804 #799
2025-07-04 08:40:30 +09:30
Jon
520008acff fix: clean up mock model from django apps
ref: #804
2025-07-04 08:40:30 +09:30
Jon
4fda640832 chore: for mode instance, actually create it
ref: #804
2025-07-04 08:40:29 +09:30
Jon
9fec7f69f5 chore: add spt to class test cases for fields to be set as non-existant
ref: #804
2025-07-04 08:40:29 +09:30
Jon
8f0d0fbe16 chore: Remove all references to field is_global
field no longer used

ref: #789 #767
2025-07-04 08:40:29 +09:30
Jon
3d9cde3b25 chore: Add support for confftest for parameterized tests to have no values
ref: #789
2025-07-04 08:40:28 +09:30
Jon
f2a2352a3c chore(base): Remove API v1 code
ref: #789 #343
2025-07-04 08:40:28 +09:30
Jon
7691ad5b0b feat(core): If user context not supplied, dont create audithistory for model
this allows tests and direct creation via code if required.

ref: #789 #759
2025-07-04 08:40:28 +09:30
Jon
a8e2536bd2 chore(base): remove tests no longer used
ref: #788 #757
2025-07-04 08:40:28 +09:30
Jon
dd9a906073 chore(base): remove methods no longer used in context processor
ref: #788 #757
2025-07-04 08:40:28 +09:30
Jon
9ff93976f2 chore(base): pass instance of model for class tests
ref: #788
2025-07-04 08:40:28 +09:30
Jon
3d961ecc9e chore(base): disable tests that require rewrite
ref: #788 #735
2025-07-04 08:40:28 +09:30
Jon
4d211a2cb7 chore(assistance): disable tests that require rewrite
ref: #788 #735
2025-07-04 08:40:27 +09:30
Jon
a53f4caa81 chore(settings): fixture sanitization
ref: #783
2025-07-04 08:40:27 +09:30
Jon
1d31a259df refactor(tests): Create global model fixtures
ref: #780 #729
2025-07-04 08:40:26 +09:30
Jon
ef294cc081 feat(devops): Switch model FeatureFlag inheritance to CenturionModel
ref: #780 #782
2025-07-04 08:40:26 +09:30
Jon
adc1c8fba7 test(core): Unit Test Centurion Model method __str__
ref: #767
2025-07-04 08:40:25 +09:30
Jon
17f4295763 feat(core): Add to Centurion Model an attribute to set the models tag
ref: #773 #767 #576
2025-07-04 08:40:25 +09:30
Jon
2b6a15cf8f test(core): Add Functional model Test Suite for CenturionAuditModel
ref: #773 #515
2025-07-04 08:40:25 +09:30
Jon
ea7cea2aa9 test(base): Add Base model Functional Test Suite
ref: #773 #767
2025-07-04 08:40:25 +09:30
Jon
d3347082d1 test(core): Add field model_notes as an excluded field for AuditModels
ref: #772 #759
2025-07-04 08:40:24 +09:30
Jon
16bbb3328b test(core): Initial Unit Model Test Cases for CenturionAudit Model
ref: #772 #759
2025-07-04 08:40:24 +09:30
Jon
6f0ef8ab31 test(access): Unit Model Tests for TenancyAbstractModel
ref: #770 #767 #445
2025-07-04 08:40:24 +09:30
Jon
678bc18cb6 test(base): Unit Common Model test cases suite
ref: #770 #758 #767
2025-07-04 08:40:24 +09:30
Jon
8fd418787e test(base): Unit Common Class test cases suite
ref: #770 #758 #767
2025-07-04 08:40:24 +09:30
Jon
06ad1fec5e chore(pytest): Create and use fixture of Fresh DB instead of migrations for testing
ref: #770
2025-07-04 08:40:24 +09:30
Jon
17c7980e03 refactor(base): rename app to centurion
ref: #764
2025-07-04 08:38:55 +09:30
Jon
e2582373ad fix(base): Add python metrics to prometheus exporter
ref: #436
2025-06-02 08:25:37 +09:30