Skip to content

Commit c421816

Browse files
committed
Remove no crypto test, as we require it to be installed
1 parent a04c1cd commit c421816

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/test_passport.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,6 @@ def test_all_types(self, passport_data, bot, all_passport_data):
162162
'credentials': credentials
163163
}, bot=bot), PassportData)
164164

165-
def test_bot_init_no_crypto(self, monkeypatch, bot):
166-
monkeypatch.setattr('telegram.bot.CRYPTO', False)
167-
with pytest.raises(ValueError):
168-
Bot(bot.token, private_key='some key')
169-
170165
def test_bot_init_invalid_key(self, bot):
171166
with pytest.raises(TypeError):
172167
Bot(bot.token, private_key=u'Invalid key!')

0 commit comments

Comments
 (0)