Browse Source

Test for too large integer or numeric string SteamIDs

pull/248/head
int3l 5 years ago
committed by GitHub
parent
commit
5cb59537e9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      tests/test_steamid.py

6
tests/test_steamid.py

@ -121,6 +121,12 @@ class SteamID_initialization(unittest.TestCase):
self.compare(SteamID("invalid_format"),
[0, EType.Invalid, EUniverse.Invalid, 0])
def test_arg_too_large_invalid(self):
self.compare(SteamID(111111111111111111111111111111111111111),
[0, EType.Invalid, EUniverse.Invalid, 0])
self.compare(SteamID("1111111111111111111111111111111111111"),
[0, EType.Invalid, EUniverse.Invalid, 0])
######################################################
# KWARGS
######################################################

Loading…
Cancel
Save