Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import unittest
- #import conf
- class test_sample(object):
- def setUp(self):
- pass
- def test_020_my(self):
- assert 1 == 1
- def test_030_reset(self):
- assert 1 == 0
- if __name__ == '__main__':
- import nose
- import nose_mine
- nose_conf = nose_mine.make_config()
- runner = nose_mine.LoggedTextTestRunner(stream=nose_conf.stream,
- verbosity=nose_conf.verbosity,
- config=nose_conf)
- result = nose.main(testRunner=runner, config=nose_conf, exit=False)
- #config = dict(**conf.mail)
- #config.update(
- # Name="test_sample2",
- #)
- #nose_mine.report_gmail(result, config)
Advertisement
Add Comment
Please, Sign In to add comment