Commit Graph

86 Commits

Author SHA1 Message Date
Jon
2e0953d0ed chore(access): refactor api perm checks so they work for model person
ref: #892 #878
2025-07-25 07:38:28 +09:30
Jon
bc0180b246 test(core): Refactor TicketBase model API Fields render test Suite to PyTest
ref: #892 #889
2025-07-25 06:59:05 +09:30
Jon
8159799afc test(core): Refactor TicketCommentBase model API Fields render test Suite to PyTest
ref: #883 #884 #726
2025-07-24 18:20:40 +09:30
Jon
3fc2b538a8 test(access): Refactor Person model API Fields render test Suite to PyTest
ref: #883 #878
2025-07-24 17:13:07 +09:30
Jon
c8fade9e4d refactor(api): Update Test Suite for AuthToken model
ref: #872 #869
2025-07-21 13:43:08 +09:30
Jon
4ffbf81b71 refactor(core): Update Test Suite for TicketBase model
ref: #871 closes #861
2025-07-18 19:33:53 +09:30
Jon
cf06783aec refactor(core): Update Test Suite for TicketCommentSolution model
ref: #871 #866
2025-07-18 17:35:47 +09:30
Jon
80ab996851 refactor(core): Update Test Suite for TicketCommentAction model
ref: #871 #864
2025-07-18 17:35:00 +09:30
Jon
13cf3f8152 refactor(core): Update Test Suite for TicketCommentBase model
ref: #871 #865
2025-07-18 17:32:40 +09:30
Jon
9d78d112ec refactor(core): Initial Update Test Suite for TicketCommentBase model
ref: #871 #865
2025-07-17 00:12:13 +09:30
Jon
8cc8fdad8b refactor(itim): Update Test Suite for RequestTicket model
ref: #871 #868
2025-07-16 21:29:52 +09:30
Jon
35c5c7ca66 refactor(itim): Update Test Suite for SLMTicket model
ref: #871 #868
2025-07-16 21:29:02 +09:30
Jon
645baa24d9 refactor(itim): Update Test Suite for SLMTicket model
ref: #871 #868
2025-07-15 21:51:05 +09:30
Jon
d3741e74e2 refactor(core): Update Test Suite for TicketBase model
ref: #870 #861
2025-07-15 02:15:28 +09:30
Jon
be708b1244 test(fixture): if item already exists, when fetching remove modified field from query if not found with
field is an auto field and most likely wont match the existing item

ref: #862
2025-07-13 21:11:55 +09:30
Jon
3b7e88969e refactor(access): Update Test Suite for Role model
ref: #862 #844
2025-07-12 16:56:07 +09:30
Jon
d6eb33141a refactor: Asset and ITAM Asset must use url kwarg model_name not asset_model
ref: #862 closes #857 #858
2025-07-12 16:13:08 +09:30
Jon
b851388d37 refactor(itam): Update Test Suite for ITAMAssetBase model
ref: #862 #858
2025-07-10 19:53:38 +09:30
Jon
d741992b6d refactor(accounting): Update URL route name for AssetBase model
ref: #862 #857
2025-07-10 19:47:18 +09:30
Jon
5b6f9bec00 chore(tests): cater for manytomany for api fields
ref: #855
2025-07-07 00:16:11 +09:30
Jon
e99ab1b0c6 test(fixture): Ensure _meta attribute exists when cleaning up models prior to attempting to use
ref: #849
2025-07-04 19:30:33 +09:30
Jon
c2255a5834 test(fixture): when creating object and it exists, rtn that object
ref: #849
2025-07-04 13:25:35 +09:30
Jon
bf1bb23dd5 chore(test): Add required fields to service fixture
ref: #849 #828
2025-07-04 08:41:40 +09:30
Jon
4f8fca9aff chore: Ensure employee fixture creates integer within max of field
ref: #847
2025-07-04 08:40:36 +09:30
Jon
bc3545d53e refactor(access): Update Test Suite for Employee model
ref: #839 #843
2025-07-04 08:40:36 +09:30
Jon
a582cbbe59 refactor(access): Update Test Suite for Person model
ref: #839 #841
2025-07-04 08:40:36 +09:30
Jon
c9c8cf6700 refactor(access): Update Test Suite for Company model
ref: #839 #845 #760
2025-07-04 08:40:36 +09:30
Jon
b6dae72a07 refactor(access): Update Test Suite for Entity model
ref: #839 #840
2025-07-04 08:40:36 +09:30
Jon
874ce0c4f4 chore: enable creating reandom email field in model_kwarg_data fixture
ref: #839
2025-07-04 08:40:36 +09:30
Jon
ae20451033 chore: make model_instance a function fixture
ref: #839
2025-07-04 08:40:36 +09:30
Jon
0b8b0bc850 test: Ensure service fixture assosiates with device
ref: #833 #828
2025-07-04 08:40:35 +09:30
Jon
095239f199 refactor(settings): Update Test Suite for ExternalLink model
ref: #833 #836
2025-07-04 08:40:35 +09:30
Jon
4a3f2ae6db refactor(settings): Update Test Suite for ExternalLink model
ref: #833 #835
2025-07-04 08:40:35 +09:30
Jon
f023901dc4 refactor(settings): Update Test Suite for AppSettings model
ref: #833 #834
2025-07-04 08:40:35 +09:30
Jon
39bcd74c56 chore: Add support for testing tenant model to fixture model_instance
ref: #833
2025-07-04 08:40:35 +09:30
Jon
caf2fd0ad3 refactor(project_management): Update Test Suite for ProjectType model
ref: #833 #832
2025-07-04 08:40:35 +09:30
Jon
4c53c92a22 refactor(project_management): Update Test Suite for ProjectState model
ref: #833 #831
2025-07-04 08:40:35 +09:30
Jon
c07b208a63 refactor(project_management): Update Test Suite for ProjectMilestone model
ref: #833 #830
2025-07-04 08:40:35 +09:30
Jon
6c1eee1d98 refactor(project_management): Update Test Suite for Project model
ref: #824 #829
2025-07-04 08:40:34 +09:30
Jon
f377ad102e refactor(itim): Update Test Suite for Service model
ref: #824 #828
2025-07-04 08:40:34 +09:30
Jon
b20cab4f8e refactor(itim): Update Test Suite for Port model
ref: #824 #827
2025-07-04 08:40:34 +09:30
Jon
8452e678da refactor(itim): Update Test Suite for ClusterType model
ref: #824 #826
2025-07-04 08:40:34 +09:30
Jon
93eb65316e refactor(itim): Update Test Suite for Cluster model
ref: #824 #825
2025-07-04 08:40:34 +09:30
Jon
234e85368a refactor(itam): Update Test Suite for SoftwareVersion model
ref: #823 #822
2025-07-04 08:40:34 +09:30
Jon
b491ba45e5 refactor(itam): Update Test Suite for SoftwareCategory model
ref: #823 #821
2025-07-04 08:40:33 +09:30
Jon
ecc544ce19 refactor: cater for dev that does not exist in test cleanup
ref: #823
2025-07-04 08:40:33 +09:30
Jon
d7e70c1e62 refactor(itam): Update Test Suite for DeviceSoftware model
ref:#817 closes #802
2025-07-04 08:40:33 +09:30
Jon
fbc2bf081e refactor(itam): Update Test Suite for DeviceDeviceOperatingSystem model
ref:#817 closes #801
2025-07-04 08:40:33 +09:30
Jon
dabf663651 refactor(devops): Migration for updating model inheritance for SoftwareEnabledFeatureFlag model
ref:#817 #812
2025-07-04 08:40:33 +09:30
Jon
c5823152ca feat(devops): Update checkin model fixture so it creates the feature flag
ref: #813 #808
2025-07-04 08:40:32 +09:30