@mock.patch('tethys_services.models.DatasetService.objects.get', return_value=True)
def test_get_service_from_id_dataset(self, mock_get):
    self.assertEqual(install_commands.get_service_from_id(1).get('service_type'), 'dataset')
    mock_get.assert_called_with(id=1)
@mock.patch('tethys_services.models.DatasetService.objects.get', return_value=True)
def test_get_service_from_id_dataset(self, mock_get):
    self.assertEqual(install_commands.get_service_from_id(1).get('service_type'), 'dataset')
    mock_get.assert_called_with(id=1)