How to test a website / application using unittest? What modules to use? Preferably with code examples of such a test?
import unittest class test_website(unittest.TestCase): def test_website(self): self.assertEqual(website('http://example.org/category/page'), 'Ответ от сервера')