votes up 1

Server did not fail.

Package:
django
github stars 59414
Exception Class:
RuntimeError

Raise code

        cls.check_allowed_hosts(['testserver'])
        try:
            super().setUpClass()
        except RuntimeError:
            # LiveServerTestCase's change to ALLOWED_HOSTS should be reverted.
            cls.check_allowed_hosts(['testserver'])
        else:
            raise RuntimeError('Server did not fail.')
        cls.set_up_called = True

    @classmethod
    def tearDownClass(cls):
        # Make tearDownClass() a no-op because setUpClass() was already cleaned
        # up, and because the error inside setUpClass() was handled, which will
        # cause tearDownClass() to be called when it normally wouldn't.
😲  Walkingbet is Android app that pays you real bitcoins for a walking. Withdrawable real money bonus is available now, hurry up! 🚶

NO FIXES YET

Just press the button and we will add solution
to this exception as soon as possible

* As many users press the button, the faster we create a fix

Add a possible fix

Please authorize to post fix