"""General functional tests for the Server admin."""


from sal.test_utils import AdminTestCase


class ServerAdminTest(AdminTestCase):
    """Test the admin site is configured to have all expected views."""
    admin_endpoints = {
        'apikey', 'businessunit', 'condition', 'fact', 'historicalfact',
        'installedupdate', 'machinedetailplugin', 'machinegroup', 'machine',
        'pendingappleupdate', 'pendingupdate', 'pluginscriptrow',
        'pluginscriptsubmission', 'plugin', 'report', 'salsetting', 'updatehistoryitem',
        'updatehistory', 'userprofile'}

"""General functional tests for the Server admin."""


from sal.test_utils import AdminTestCase


class ServerAdminTest(AdminTestCase):
    """Test the admin site is configured to have all expected views."""
    admin_endpoints = {
        'apikey', 'businessunit', 'condition', 'fact', 'historicalfact',
        'installedupdate', 'machinedetailplugin', 'machinegroup', 'machine',
        'pendingappleupdate', 'pendingupdate', 'pluginscriptrow',
        'pluginscriptsubmission', 'plugin', 'report', 'salsetting', 'updatehistoryitem',
        'updatehistory'}

Remove endpoint from test (it has been removed in lieu of User admin).
Remove endpoint from test (it has been removed in lieu of User admin).

  """General functional tests for the Server admin."""
  
  
  from sal.test_utils import AdminTestCase
  
  
  class ServerAdminTest(AdminTestCase):
      """Test the admin site is configured to have all expected views."""
      admin_endpoints = {
          'apikey', 'businessunit', 'condition', 'fact', 'historicalfact',
          'installedupdate', 'machinedetailplugin', 'machinegroup', 'machine',
          'pendingappleupdate', 'pendingupdate', 'pluginscriptrow',
          'pluginscriptsubmission', 'plugin', 'report', 'salsetting', 'updatehistoryitem',
-         'updatehistory', 'userprofile'}
+         'updatehistory'}
  
Remove endpoint from test (it has been removed in lieu of User admin).
## Code Before:
"""General functional tests for the Server admin."""


from sal.test_utils import AdminTestCase


class ServerAdminTest(AdminTestCase):
    """Test the admin site is configured to have all expected views."""
    admin_endpoints = {
        'apikey', 'businessunit', 'condition', 'fact', 'historicalfact',
        'installedupdate', 'machinedetailplugin', 'machinegroup', 'machine',
        'pendingappleupdate', 'pendingupdate', 'pluginscriptrow',
        'pluginscriptsubmission', 'plugin', 'report', 'salsetting', 'updatehistoryitem',
        'updatehistory', 'userprofile'}

## Instruction:
Remove endpoint from test (it has been removed in lieu of User admin).
## Code After:
"""General functional tests for the Server admin."""


from sal.test_utils import AdminTestCase


class ServerAdminTest(AdminTestCase):
    """Test the admin site is configured to have all expected views."""
    admin_endpoints = {
        'apikey', 'businessunit', 'condition', 'fact', 'historicalfact',
        'installedupdate', 'machinedetailplugin', 'machinegroup', 'machine',
        'pendingappleupdate', 'pendingupdate', 'pluginscriptrow',
        'pluginscriptsubmission', 'plugin', 'report', 'salsetting', 'updatehistoryitem',
        'updatehistory'}
