sarumont / py-trello

Python API wrapper around Trello's API
BSD 3-Clause "New" or "Revised" License
945 stars 330 forks source link

Error first time tests are run locally #233

Open cesarob opened 6 years ago

cesarob commented 6 years ago

The first time the tests are run this error happends:

======================================================================
FAIL: test_last_activity (test.test_board.TrelloBoardTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/py-trello/test/test_board.py", line 195, in test_last_activity
    self.assertIsInstance(self._board.date_last_activity, datetime)
AssertionError: None is not an instance of <class 'datetime.datetime'>

Second time it works.