mirror of
https://github.com/triqs/dft_tools
synced 2024-11-14 18:13:49 +01:00
f86038a7fd
All imports inside the test cases refer now to paths relative to TRIQS python library path. For example, `import vaspio` is replaced with `import applications.dft.converters.plovasp.vasio` In this way all tests can be executed wtih `build_pytriqs` provided that the package is installed (the same practice as with other 'dft_tools' tests). Also, the underscore can now be removed from subdirectory names because there is no more conflict with module names.
11 lines
269 B
Python
11 lines
269 B
Python
r"""
|
|
Test suite for module `plotools`.
|
|
"""
|
|
import unittest
|
|
|
|
if __name__ == '__main__':
|
|
suite = unittest.TestLoader().discover('./')
|
|
unittest.TextTestRunner(verbosity=2, buffer=True).run(suite)
|
|
# unittest.TextTestRunner(verbosity=2, buffer=False).run(suite)
|
|
|