Commit Graph
6 Commits
Author SHA1 Message Date
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
Ammar Askar 89ca73532a Fully cover authentication module 2016-12-19 06:57:45 -05:00
Ammar Askar 10fb291752 Add some additional tests for the authentication module 2016-12-19 06:39:01 -05:00
joo 37a9bb66f1 Fix test failures caused by new flake8 version. 2016-11-15 00:02:02 +00:00
Jeppe Klitgaard ca81f7685a Moved tests around for more logical order. Made tests for Profile object. 2015-04-07 20:07:47 +02:00
Jeppe Klitgaard c34d30566f Made some tests for authentication. Still many tests to be made 2015-04-02 00:11:14 +02:00