Mercurial > hg > configuration
comparison tests/unit.py @ 11:e00afe2c83bf
stubbing configuration parser
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Mon, 26 Mar 2012 09:45:06 -0700 |
| parents | b3023ba3c9ca |
| children | cadc9514f60a |
comparison
equal
deleted
inserted
replaced
| 10:c782d750fd6d | 11:e00afe2c83bf |
|---|---|
| 6 | 6 |
| 7 import os | 7 import os |
| 8 import sys | 8 import sys |
| 9 import unittest | 9 import unittest |
| 10 | 10 |
| 11 import example # example configuration to test | |
| 12 | |
| 11 # globals | 13 # globals |
| 12 here = os.path.dirname(os.path.abspath(__file__)) | 14 here = os.path.dirname(os.path.abspath(__file__)) |
| 13 | 15 |
| 14 class configurationUnitTest(unittest.TestCase): | 16 class configurationUnitTest(unittest.TestCase): |
| 15 | 17 |
| 16 def test_configuration(self): | 18 def test_configuration(self): |
| 17 pass | 19 |
| 18 | 20 |
| 19 if __name__ == '__main__': | 21 if __name__ == '__main__': |
| 20 unittest.main() | 22 unittest.main() |
| 21 | 23 |
