Пример #1
0
    def test_has_entities(self):
        assert helpers.has_entities(self.status) is True
        assert helpers.has_entities(TWEET) is True

        assert helpers.has_media(TWEET) is False
        assert helpers.has_media(self.status) is False

        assert helpers.has_symbol(self.status) is False
        assert helpers.has_symbol(TWEET) is False
    def test_has_entities(self):
        assert helpers.has_entities(self.status) is True
        assert helpers.has_entities(TWEET) is True

        assert helpers.has_media(TWEET) is False
        assert helpers.has_media(self.status) is False

        assert helpers.has_symbol(self.status) is False
        assert helpers.has_symbol(TWEET) is False
Пример #3
0
 def test_has_entities(self):
     assert helpers.has_entities(self.status) is True