def test_api_unauthenticated(self):
        """
        Testing unauthenticated access to MVC API
        """
        client = self.app.test_client()
        self.browser_logout(client)
        rv = client.get("/model1formattedview/api/read")
        self.assertEqual(rv.status_code, 401)

        Testing unauthenticated access to MVC API
        
tests/test_mvc.py