| 1 | #!/usr/bin/env python2 |
| 2 | """ |
| 3 | uftrace_allocs_test.py: Tests for uftrace_allocs.py |
| 4 | """ |
| 5 | from __future__ import print_function |
| 6 | |
| 7 | import unittest |
| 8 | |
| 9 | from benchmarks import uftrace_allocs # module under test |
| 10 | |
| 11 | |
| 12 | class PluginTest(unittest.TestCase): |
| 13 | |
| 14 | def testFoo(self): |
| 15 | s = uftrace_allocs.Stats('_tmp') |
| 16 | print(s) |
| 17 | |
| 18 | |
| 19 | if __name__ == '__main__': |
| 20 | unittest.main() |