blob: d6328bc4f39c147a3439281343315da67d3e72ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
  | 
import os
import json
from tests import SiteTest, app
class RstEndpoints(SiteTest):
    """ Test cases for staff subdomain """
    def test_staff_view(self):
        """ Check staff view redirects """
        response = self.client.get('/', "http://"+app.config['SERVER_NAME'])
        self.assertEqual(response.status_code, 200)
 
  |