mirror of
https://github.com/triqs/dft_tools
synced 2024-08-17 01:31:44 +02:00
![Oleg E. Peil](/assets/img/avatar_default.png)
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)
|
|
|