Commit Graph

79633 Commits

Author SHA1 Message Date
Bo Maryniuk
9e5bf58e42 Fix test: underscore alias is found 2017-03-21 10:49:18 +01:00
Bo Maryniuk
bceb6d0f56 Add with_deprecated test misconfiguration 2017-03-21 10:48:54 +01:00
Bo Maryniuk
54416ed2e8 Add with_deprecated test with opt-in policy configured 2017-03-21 10:47:26 +01:00
Bo Maryniuk
9f8bb257df Add with_deprecated test with opt-in policy by default 2017-03-21 10:46:53 +01:00
Bo Maryniuk
fe35e15ad1 Cover deprecated option 2017-03-21 10:46:04 +01:00
Bo Maryniuk
66dff82062 Fix unit test: log messages has been changed 2017-03-21 09:29:48 +01:00
Bo Maryniuk
5592b4964f Pylint: W1699 2017-03-20 22:31:54 +01:00
Bo Maryniuk
52125c732b Pylint: W1699 2017-03-20 22:31:54 +01:00
Bo Maryniuk
de9dc873e4 Suppress py3 code compatibility check 2017-03-20 22:31:54 +01:00
Bo Maryniuk
3ba87e495b Release note fix 2017-03-20 22:31:54 +01:00
Bo Maryniuk
7d5d9a7562 Fix docstring 2017-03-20 22:31:54 +01:00
Bo Maryniuk
18d85b1ab8 Fix docstring to the new opt-in deprecation policy 2017-03-20 22:31:54 +01:00
Bo Maryniuk
2f7adbcdfe Fix potential override of result outcome 2017-03-20 22:31:54 +01:00
Bo Maryniuk
fa8bd76c8b Fix unit test for a deprecation decorator policy 2017-03-20 22:31:54 +01:00
Bo Maryniuk
57885fab6a Set "opt-in" policy for this function 2017-03-20 22:31:54 +01:00
Bo Maryniuk
4c0a542aac Add opt-in and opt-out policies 2017-03-20 22:31:54 +01:00
Bo Maryniuk
81a7301c3e Add opt-in process for the deprecated functions 2017-03-20 22:31:54 +01:00
Bo Maryniuk
3c19f2161c Fix wrong passed type 2017-03-20 22:31:54 +01:00
Bo Maryniuk
27f32a757c Fix the documentation at the module level 2017-03-20 22:31:54 +01:00
Bo Maryniuk
cce3af3bed Add deprecation notice 2017-03-20 22:31:53 +01:00
Bo Maryniuk
6579f113d2 Fix release notes 2017-03-20 22:31:53 +01:00
Bo Maryniuk
b6c513e458 Add newlines for markdown 2017-03-20 22:31:53 +01:00
Bo Maryniuk
929e3bf19b Add return of the called functions to the changes slot 2017-03-20 22:31:53 +01:00
Bo Maryniuk
ffa7035558 Add the option to the Nitrogen Release Notes 2017-03-20 22:31:53 +01:00
Bo Maryniuk
c0f3d1e9ac Deprecate module.run in Oxygen 2017-03-20 22:31:53 +01:00
Bo Maryniuk
923bc22f84 Capture internal kwargs 2017-03-20 22:31:53 +01:00
Bo Maryniuk
f5a957371b Report full function path in the deprecation logs 2017-03-20 22:31:53 +01:00
Bo Maryniuk
150139bf5d Place successor reference info on the right place 2017-03-20 22:31:53 +01:00
Bo Maryniuk
c400d4edd4 Capture also states modules 2017-03-20 22:31:53 +01:00
Bo Maryniuk
c2e44b88d8 Catch also full function object path for a better logging 2017-03-20 22:31:53 +01:00
Bo Maryniuk
09658cffd8 Drop early option fetch: __opts__ are not there yet at this phase 2017-03-20 22:31:53 +01:00
Bo Maryniuk
351abf7cd1 Pass the entire changes set 2017-03-20 22:31:53 +01:00
Bo Maryniuk
d862e1ee65 Lint: E1306 2017-03-20 22:31:53 +01:00
Bo Maryniuk
162fd8f11c Lint: W0106 2017-03-20 22:31:53 +01:00
Bo Maryniuk
383962f0ce Add documentation 2017-03-20 22:31:53 +01:00
Bo Maryniuk
717c39bb4c Add unit test for batch call 2017-03-20 22:31:53 +01:00
Bo Maryniuk
88dc91f9a7 Add unit test for typed returns 2017-03-20 22:31:53 +01:00
Bo Maryniuk
9271104086 Properly handle return of False 2017-03-20 22:31:53 +01:00
Bo Maryniuk
af81a00130 Add unit test for None returns 2017-03-20 22:31:53 +01:00
Bo Maryniuk
b84f239fb3 Handle non-dict returns properly 2017-03-20 22:31:53 +01:00
Bo Maryniuk
88c6e9485b Add docstring to the unit test 2017-03-20 22:31:53 +01:00
Bo Maryniuk
4fa3793bee Add unit test for module.xrun call with the correct unnamed arguments 2017-03-20 22:31:53 +01:00
Bo Maryniuk
25e3d5a6fd Dissect unnamed args and call them separately 2017-03-20 22:31:53 +01:00
Bo Maryniuk
f10ae71a37 Capture unexpected arguments 2017-03-20 22:31:53 +01:00
Bo Maryniuk
23da992ae0 Remove function ID from kwargs 2017-03-20 22:31:53 +01:00
Bo Maryniuk
796b0e2690 Add unit test to call a function with an unexpected keywords 2017-03-20 22:31:53 +01:00
Bo Maryniuk
2314b49f54 Add unit test to call function with a proper arguments 2017-03-20 22:31:53 +01:00
Bo Maryniuk
3ab7d6c458 Refactor unit tests for reusing constants 2017-03-20 22:31:53 +01:00
Bo Maryniuk
3d63165f16 Add unit test for missing args 2017-03-20 22:31:53 +01:00
Bo Maryniuk
33a16d69cc Add xrun unit test for module is ran in a test mode 2017-03-20 22:31:53 +01:00