12345678910111213141516171819202122232425 |
- '''
- Created on Jan 8, 2020
- @author: deeejas
- '''
- import unittest
- import game_bot
- from time import sleep
- class myTest(unittest.TestCase):
- @unittest.skip('reason')
- def runTest(self):
- try:
- assert 6 == 6
- # exc_logger.info('True')
- game_bot.selector_logger.info('True')
- except AssertionError as exc:
- game_bot.exc_logger.exception(exc)
- def test_driver(self):
- bot = game_bot.fb.FacebookBot(executable_path='/home/deeejas/git/fbook_bot/chromedriver', visible=True)
- bot.get("https://mbasic.facebook.com")
- sleep(5)
- unittest.main()
|