1. 22 12月, 2017 1 次提交
  2. 21 12月, 2017 2 次提交
  3. 31 5月, 2017 1 次提交
  4. 15 5月, 2017 1 次提交
  5. 13 4月, 2017 1 次提交
    • L
      selftests: Run check_tmp_dirs between selftests · 00d4d3aa
      Lukáš Doktor 提交于
      This commit enables the left-behind-temporary-dirs check between each
      test. As all selftests are executed as a single process the BORG class
      keeps the TMP dir of the unit-tests. To avoid results spoiled by this
      fact this commit adds a force-cleanup of the tmp dir tracker overriding
      the BORG internal state, which is not really nice, but for selftests
      acceptable.
      
      The method to clean it was especially named
      "unittest_refresh_dir_tracker" to emphasize it should not be used
      outside of unittest.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      00d4d3aa
  6. 06 2月, 2017 1 次提交
  7. 07 11月, 2016 1 次提交
  8. 29 9月, 2016 1 次提交
  9. 11 9月, 2015 1 次提交
  10. 03 9月, 2015 1 次提交
    • C
      Selftests: drop nose usage for plain unittest discovery · e9c0d813
      Cleber Rosa 提交于
      The unittest module, and unittest2 backport on Python 2.6, is capable of
      finding unittests and running them. So, effectively, we do not need nose
      at all.
      
      This patch removes the dependency on nose, replacing the run script
      with a version based solely on the unittest module.
      
      One change of functionality is that run now looks and runs tests in the
      standard selftests directories (unit, functional, doc), and does not
      accept command line arguments. If one wants to run a subset of them,
      it's pretty easy to just use the unittest module for that:
      
       $ python -m unittest discover -s selftests/unit
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      e9c0d813
  11. 18 3月, 2015 1 次提交
  12. 18 2月, 2015 1 次提交
  13. 28 11月, 2014 1 次提交
  14. 21 11月, 2014 1 次提交
  15. 15 5月, 2014 1 次提交
  16. 23 4月, 2014 1 次提交
  17. 17 4月, 2014 1 次提交
  18. 16 4月, 2014 1 次提交