feat(setting): Enable super admin to set ALL software as global
sets is_global=true and creates software in global organization !11 closes #27
This commit is contained in:
28
app/settings/tests/app_settings/test_app_settings.py
Normal file
28
app/settings/tests/app_settings/test_app_settings.py
Normal file
@ -0,0 +1,28 @@
|
||||
|
||||
from django.test import TestCase, Client
|
||||
|
||||
import pytest
|
||||
import unittest
|
||||
import requests
|
||||
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="to be written")
|
||||
def test_app_settings_only_super_admin_can_access():
|
||||
""" Only super admin can access app settings """
|
||||
pass
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="to be written")
|
||||
def test_app_settings_software_is_global_organization_must_be_set():
|
||||
""" If field software_is_global=true an organization must be set """
|
||||
pass
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="to be written")
|
||||
def test_app_settings_software_is_global_create_software():
|
||||
""" If field software_is_global=true on software creation regardless of user settings
|
||||
software is created in global organization with global=true
|
||||
"""
|
||||
pass
|
||||
|
Reference in New Issue
Block a user