mirror of
https://github.com/triqs/dft_tools
synced 2024-11-07 06:33:48 +01:00
20be2e5826
Instead of comparing text output files the tests are now done on h5-files. The latter are compared with a finite precision eliminating thus a problem of platform-dependence of the results.
12 lines
340 B
Python
12 lines
340 B
Python
r"""
|
|
Test suite for module `plotools`.
|
|
"""
|
|
import unittest
|
|
|
|
if __name__ == '__main__':
|
|
# suite = unittest.TestLoader().discover('./')
|
|
suite = unittest.TestLoader().discover('./', pattern='test_one*')
|
|
unittest.TextTestRunner(verbosity=2, buffer=True).run(suite)
|
|
# unittest.TextTestRunner(verbosity=2, buffer=False).run(suite)
|
|
|