Commit Graph

6 Commits

Author SHA1 Message Date
joo d36b652b69 Fix: reconnecting from an exception handler does not work. 2018-05-29 01:14:23 +01:00
joo c01f194d06 Raise exception on login disconnect instead of silently stopping. 2018-05-28 17:42:08 +01:00
joo e99d2a4ef5 Add documentation for YggdrasilError. 2017-03-31 14:33:51 +01:00
joo 66a0603acf Fix various problems in minecraft.authentication and its tests:
- Return value of _make_request() is treated as a requests.Request, when it is in fact a requests.Response.
- Some tests in test_authentication use assertRaises() incorrectly, resulting in testing code that never gets run.
- Other miscellaneous errors exposed by the above changes.

Additionally:
- YggdrasilError instances now have fields with specific error information, and _raise_from_response() populates them. (This will be useful for later changes.)
2017-03-31 12:59:43 +01:00
joo bf17f99083 Change version negotiator to use a status query. 2016-11-22 14:47:42 +00:00
Jeppe Klitgaard 6cf6110bc5 Updated authentication.py and made it work with the rest of pyCraft 2015-04-01 23:38:10 +02:00