from __future__ import absolute_import
from django.core.urlresolvers import reverse
from sentry.testutils import APITestCase


class SystemHealthTest(APITestCase):

    def test_simple(self):
        self.login_as(user=self.user)
        url = reverse('sentry-api-0-system-health')
        response = self.client.get(url)
        assert response.status_code == 200
        assert 'problems' in response.data
        assert 'healthy' in response.data

d335243f7995b10f94238e165d1591ba16640ba0
<mask token>

<mask token>


class SystemHealthTest(APITestCase):
    <mask token>

<mask token>


class SystemHealthTest(APITestCase):

    def test_simple(self):
        self.login_as(user=self.user)
        url = reverse('sentry-api-0-system-health')
        response = self.client.get(url)
        assert response.status_code == 200
        assert 'problems' in response.data
        assert 'healthy' in response.data

from __future__ import absolute_import
from django.core.urlresolvers import reverse
from sentry.testutils import APITestCase


class SystemHealthTest(APITestCase):

    def test_simple(self):
        self.login_as(user=self.user)
        url = reverse('sentry-api-0-system-health')
        response = self.client.get(url)
        assert response.status_code == 200
        assert 'problems' in response.data
        assert 'healthy' in response.data
