diff --git a/app/core/tests/test_history.py b/app/core/tests/test_history.py new file mode 100644 index 00000000..4eb1d331 --- /dev/null +++ b/app/core/tests/test_history.py @@ -0,0 +1,174 @@ + +from django.test import TestCase, Client + +import pytest +import unittest +import requests + + + +@pytest.mark.skip(reason="to be written") +def test_history_device_create(): + """ History row must be added to history table on create """ + pass + + +@pytest.mark.skip(reason="to be written") +def test_history_device_update(): + """ History row must be added to history table on updatej """ + pass + + +@pytest.mark.skip(reason="to be written") +def test_history_device_delete(): + """ History row must be added to history table on delete """ + pass + + + +@pytest.mark.skip(reason="to be written") +def test_history_device_operating_system_create(): + """ History row must be added to history table on create + + Must also have populated parent_item_pk and parent_item_class columns + """ + pass + + +@pytest.mark.skip(reason="to be written") +def test_history_device_operating_system_update(): + """ History row must be added to history table on update + + Must also have populated parent_item_pk and parent_item_class columns + """ + pass + + +@pytest.mark.skip(reason="to be written") +def test_history_device_operating_system_delete(): + """ History row must be added to history table on delete + + Must also have populated parent_item_pk and parent_item_class columns + """ + pass + + + +@pytest.mark.skip(reason="to be written") +def test_history_device_software_create(): + """ History row must be added to history table on create + + Must also have populated parent_item_pk and parent_item_class columns + """ + pass + + +@pytest.mark.skip(reason="to be written") +def test_history_device_software_update(): + """ History row must be added to history table on update + + Must also have populated parent_item_pk and parent_item_class columns + """ + pass + + +@pytest.mark.skip(reason="to be written") +def test_history_device_software_delete(): + """ History row must be added to history table on delete + + Must also have populated parent_item_pk and parent_item_class columns + """ + pass + + + +@pytest.mark.skip(reason="to be written") +def test_history_operating_system_create(): + """ History row must be added to history table on create """ + pass + + +@pytest.mark.skip(reason="to be written") +def test_history_operating_system_update(): + """ History row must be added to history table on updatej """ + pass + + +@pytest.mark.skip(reason="to be written") +def test_history_operating_system_delete(): + """ History row must be added to history table on delete """ + pass + + +@pytest.mark.skip(reason="to be written") +def test_history_operating_system_version_create(): + """ History row must be added to history table on create + + Must also have populated parent_item_pk and parent_item_class columns + """ + pass + + +@pytest.mark.skip(reason="to be written") +def test_history_operating_system_version_update(): + """ History row must be added to history table on update + + Must also have populated parent_item_pk and parent_item_class columns + """ + pass + + +@pytest.mark.skip(reason="to be written") +def test_history_operating_system_version_delete(): + """ History row must be added to history table on delete + + Must also have populated parent_item_pk and parent_item_class columns + """ + pass + + + +@pytest.mark.skip(reason="to be written") +def test_history_software_create(): + """ History row must be added to history table on create """ + pass + + +@pytest.mark.skip(reason="to be written") +def test_history_software_update(): + """ History row must be added to history table on updatej """ + pass + + +@pytest.mark.skip(reason="to be written") +def test_history_software_delete(): + """ History row must be added to history table on delete """ + pass + + +@pytest.mark.skip(reason="to be written") +def test_history_software_version_create(): + """ History row must be added to history table on create + + Must also have populated parent_item_pk and parent_item_class columns + """ + pass + + +@pytest.mark.skip(reason="to be written") +def test_history_software_version_update(): + """ History row must be added to history table on update + + Must also have populated parent_item_pk and parent_item_class columns + """ + pass + + +@pytest.mark.skip(reason="to be written") +def test_history_software_version_delete(): + """ History row must be added to history table on delete + + Must also have populated parent_item_pk and parent_item_class columns + """ + pass +