{"push_id":786839637,"size":9,"distinct_size":0,"ref":"refs/heads/master","head":"9cf7ea410498d413b91912bc70111e84e180a708","before":"4a337f379e29be186c51597bfca60824661a8d33","commits":[{"sha":"24d87eb48055da6f63b1cfa475911e13ab97b69e","author":{"email":"83ca1737364242f87469bdf4d81e240c289bde2a@redhat.com","name":"Cleber Rosa"},"message":"Selftests: move to adhere to unittest discover default pattern\n\nTo be honest, our test code could still be kept in the same directories and\nhave the same names. But I think we can improve two things here:\n\n1) Flatten a little bit the directory structure of selftests. Two path\ncomponents are being dropped here: \"all\" and \"avocado\". So that\n\"selftests/all/functional/avocado\" becomes simply\n\"selftests/functional\".\n\n2) File names match what is, by default, recognized by unittest (the\nStandard Library module) based discovery of tests. That means that\ndoc_build_test.py becomes test_doc_build.py. Not a big deal IMHO.\n\nSigned-off-by: Cleber Rosa <crosa@redhat.com>","distinct":false,"url":"https://api.github.com/repos/lmr/avocado/commits/24d87eb48055da6f63b1cfa475911e13ab97b69e"},{"sha":"dae3ea2244f0ac50828bd91e059212619e6ba672","author":{"email":"83ca1737364242f87469bdf4d81e240c289bde2a@redhat.com","name":"Cleber Rosa"},"message":"selftests/functional/test_interrupt.py: silence the test\n\nWhen running this functional test with the standard unittest\ndiscovery/runner it produces output that conflicts with the runner\noutput.\n\nIt looks like this output is not necessary for the test itself, and\nnot that helpful for debugging purposes, so, let's just silence it.\n\nSigned-off-by: Cleber Rosa <crosa@redhat.com>","distinct":false,"url":"https://api.github.com/repos/lmr/avocado/commits/dae3ea2244f0ac50828bd91e059212619e6ba672"},{"sha":"e9c0d8134fcd185b20e1628d106631275f6e3e14","author":{"email":"83ca1737364242f87469bdf4d81e240c289bde2a@redhat.com","name":"Cleber Rosa"},"message":"Selftests: drop nose usage for plain unittest discovery\n\nThe unittest module, and unittest2 backport on Python 2.6, is capable of\nfinding unittests and running them. So, effectively, we do not need nose\nat all.\n\nThis patch removes the dependency on nose, replacing the run script\nwith a version based solely on the unittest module.\n\nOne change of functionality is that run now looks and runs tests in the\nstandard selftests directories (unit, functional, doc), and does not\naccept command line arguments. If one wants to run a subset of them,\nit's pretty easy to just use the unittest module for that:\n\n $ python -m unittest discover -s selftests/unit\n\nSigned-off-by: Cleber Rosa <crosa@redhat.com>","distinct":false,"url":"https://api.github.com/repos/lmr/avocado/commits/e9c0d8134fcd185b20e1628d106631275f6e3e14"},{"sha":"333e439b72dcd02fb2b33d82e415a54f8c4bb48d","author":{"email":"83ca1737364242f87469bdf4d81e240c289bde2a@redhat.com","name":"Cleber Rosa"},"message":"Selftests: allow tests to be run with \"setup.py test\"\n\nOne standard setuptools command is \"test\". That command does some useful\nsetup and then runs the test in a verbose mode.\n\nThere are a couple of reasons for activating that, including that\nsetuptools can help us support a Python 3 version of Avocado by\nrunning 2to3 and even custom fixers before running the tests, or even\nbuilds and installs.\n\nSigned-off-by: Cleber Rosa <crosa@redhat.com>","distinct":false,"url":"https://api.github.com/repos/lmr/avocado/commits/333e439b72dcd02fb2b33d82e415a54f8c4bb48d"},{"sha":"6149e2dc41f443a8e70f62be54895f7c37b044aa","author":{"email":"83ca1737364242f87469bdf4d81e240c289bde2a@redhat.com","name":"Cleber Rosa"},"message":"Selftests: remove evil \"simple import magic\"\n\nEven though I may be the one to blame about coming up with this\n\"simple import magic\", I believe it was a mistake and we should get\nrid of them.\n\nThere are a couple of other ways to actually do development out of\nof a source tree, including running unittests that do not require\nthis amount of boiler plate code. Examples include just setting\nthe PYTHONPATH environment variable to actually run (setuptools based)\n`python setup.py develop`.\n\nThe little bits of what looks like the import magic that was left, is\nnot really import magic. It's just that functional tests need to locate\nthe Avocado source tree base directory to run the test runner from it.\n\nSigned-off-by: Cleber Rosa <crosa@redhat.com>","distinct":false,"url":"https://api.github.com/repos/lmr/avocado/commits/6149e2dc41f443a8e70f62be54895f7c37b044aa"},{"sha":"b8bd211fecf02f7260fde2ddf1700044140186a0","author":{"email":"83ca1737364242f87469bdf4d81e240c289bde2a@redhat.com","name":"Cleber Rosa"},"message":"selftests/doc/test_doc_build.py: convert to a unittest test\n\nAll other tests (unit and functional) are based on unittest. Let's do\nthe same to this one, so that the default unittest discover code finds\nit and runs it.\n\nSigned-off-by: Cleber Rosa <crosa@redhat.com>","distinct":false,"url":"https://api.github.com/repos/lmr/avocado/commits/b8bd211fecf02f7260fde2ddf1700044140186a0"},{"sha":"8b60ae24f061e90b5cdcbf6bfb4b72c016004a8f","author":{"email":"8ad3460456640ab580599f5440c5a8d925a620b9@redhat.com","name":"Lucas Meneghel Rodrigues"},"message":"Merge pull request #775 from clebergnu/selftests_run_for_setuptools_test\n\nUse standard unittest (and setuptools) for execution of selftests","distinct":false,"url":"https://api.github.com/repos/lmr/avocado/commits/8b60ae24f061e90b5cdcbf6bfb4b72c016004a8f"},{"sha":"8a5e28d8075dc919903fe6e1f456e6bf6561233c","author":{"email":"8ad3460456640ab580599f5440c5a8d925a620b9@redhat.com","name":"Lucas Meneghel Rodrigues"},"message":"selftests/functional/test_interrupt.py: Fix NoSuchProcess bug\n\nIf between psutil.procs() and the instantiation of the Process\nobject the given pid has terminated, we'll get a NoSuchProcess\nerror from psutils. Let's expand the list comprehension to avoid\ngetting caught by such a condition.\n\nSigned-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>","distinct":false,"url":"https://api.github.com/repos/lmr/avocado/commits/8a5e28d8075dc919903fe6e1f456e6bf6561233c"},{"sha":"9cf7ea410498d413b91912bc70111e84e180a708","author":{"email":"8ad3460456640ab580599f5440c5a8d925a620b9@redhat.com","name":"Lucas Meneghel Rodrigues"},"message":"Merge pull request #776 from lmr/test-interrupt-fix-nosuchprocess\n\nselftests/functional/test_interrupt.py: Fix NoSuchProcess bug","distinct":false,"url":"https://api.github.com/repos/lmr/avocado/commits/9cf7ea410498d413b91912bc70111e84e180a708"}]}