def test_chat_is_valid(self):
     chat = ChatConfig(username="******", chat_id="123abc")
     self.assertTrue(chat.valid())
 def test_empty_chat_is_not_valid(self):
     chat = ChatConfig()
     self.assertFalse(chat.valid())