GitHub PushEvent at 2014-11-03 12:08:37
Repository: freeipa
Actor: tbabej
Payload: {"shas":[["f4bec392aae55f22bbbf83e7a1c06dbcdf052339","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","tests: Use PEP8-compliant setup/teardown method names\n\nThe setUp/dearDown names are used in the unittest module, but there is no reason\nto use them in non-`unittest` test cases.\nNose supports both styles (but mixing them can cause trouble when\ncalling super()'s methods).\nPytest only supports the new ones.\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["385e92da1730bae359397a3d2fafdf9acf1eadf9","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","tests: Add configuration for pytest\n\nBy default, pytest considers test classes only if they're named\n'Test*'; Nose also allows 'test_*'.\nConfigure pytest to allow the non-pep8 names as well.\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["6ac4c50df9ebf53ed569952754141b295400889e","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","ipatests.util.ClassChecker: Raise AttributeError in get_subcls\n\nPytest considers NotImplementedError on attribute access an error.\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["cb5e59f3fc91da3a0e95f73b013d5040c797c057","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","test_automount_plugin: Fix test ordering\n\nNose ran the `test_a_*` and `test_a2_*` tests in opposite order\nthan the source suggested. Fix this.\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["156d9edb36914a701e1699b737aeba7a9a2aeae5","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","Use setup_class/teardown_class in Declarative tests\n\nPytest will consider each Declarative test individually, running\nsetup/teardown for each one.\nMove the setup and teardown to the class level.\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["7fc9eb855339303afd5e0c25d9999c41433e9a20","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","dogtag plugin: Don't use doctest syntax for non-doctest examples\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["6bb3a9947f49393fc86683c319880742e4e3f3d3","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","test_webui: Don't use __init__ for test classes\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["86414f42a095bd4eb3a55c1483f0efe3976cb8b7","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","test_ipapython: Use functions instead of classes in test generators\n\npytest's support for Nose-style test generators is not bulletproof;\nuse a real function to please it.\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["82dd67b19e1830ead65ed9dc1a129c70d3d906ec","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","Configure pytest to run doctests\n\nThe pytest.ini file needs to be in or above the directory py.test is called in.\nWhen in IPA project root, this invocation will find ./ipatests/pytest.ini:\n    py.test ipatests/\nbut these will not (they're equivalent):\n    py.test .\n    py.test\nSo pytest.ini must be in the project root.\n\nHowever, setupttols can't include files outside package directories,\nso we also need this file to be under ipatests/\n\nSolve the problem by symlinking ./pytest.ini to ipatests/pytest.ini.\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["2b797dda49c0cc6c54626115f4e94dc5ec2a2336","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","Declarative tests: Move cleanup to setup_class/teardown_class\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["86aaf21d7d18c5d059ab31502c54a6e9079850f0","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","Declarative tests: Switch to pytest\n\nProvide a local pytest plugin to generate tests.\n\nThe Declarative tests can now only be run with pytest\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["6d3f594d1ceeada18bc5a406266f5b0353e277a7","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","Integration tests: Port the ordering plugin to pytest\n\nOrdered integration tests may now be run with pytest.\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["553f0397d244e3f325fd0560e72728ddf4a3255d","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","Switch make-test to pytest\n\nThe unused capability to run on multiple Python versions is removed,\nand needed arguments are now listed in pytest.ini,\nleaving just a simple call to the actual test runner.\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["6763fcc0bccbd0f651079ab0262c829abf5dc577","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","Add local pytest plugin for --with-xunit and --logging-level\n\nThe --with-xunit option ihas the same behavior as in nosetests:\nit's an alias for pytest's --junitxml=nosetests.py\n\nThe --logging-level option enables direct IPA logging to stdout.\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["1f3dc61c4ce2c149844719aedc04ed031d67947b","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","Switch ipa-run-tests to pytest\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["7b39daf04fb4522ac1f2cf75bba22d7154806ec8","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","Switch integration testing config to a fixture\n\nThe hack of storing the config on the class is left in;\nit would be too much work for too little gain at this time.\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["34807c12be13699a832fbcfb593b33d1282928d8","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","Integration tests: Port the BeakerLib plugin and log collection to pytest\n\nMove the IPA-specific log collection out of the Beakerlib plugin.\nAdd the --logfile-dir option to tests and ipa-test-task, so that logs\ncan be collected even if BeakerLib is not used.\n\nhttps://fedorahosted.org/freeipa/ticket/4610","Petr Viktorin",true],["2191d20f829dc52008c37ab0b522b0e6bd7ff2cc","d272ab363a26c6173be131d9cdc0e5e51c404b15@redhat.com","test_integration: Adjust tests for pytest\n\n- Customize install() instead of setup_class()\n- Use pytest parametrization instead of test generators","Petr Viktorin",true]],"size":18,"ref":"refs/heads/master","head":"2191d20f829dc52008c37ab0b522b0e6bd7ff2cc"}