The case test case in unittest is not run when python is running
Just add a few lines of code
in the script 1, add in the script
if __name__ == '__main__':
unittest.main()
2. Add in the script
if __name__ == '__main__':
suite = unittest.TestLoader().loadTestsFromTestCase(LoginTest)
unittest.TextTestRunner(verbosity=2).run(suite)
unittest.main(verbosity=2)