Garee / pytodoist

Use Todoist with Python ✅
https://pytodoist.readthedocs.org/
MIT License
165 stars 33 forks source link

Add Visual Studio Code files to the gitignore file #20

Closed niklas-heer closed 6 years ago

niklas-heer commented 7 years ago

I'm using Visual Studio Code. I thought to rip this commit out of my other contribution, so that you can use it if you like without my other contribution. :)

niklas-heer commented 7 years ago

Oh why does the test fail?

$ make test
flake8 pytodoist
python -m pytodoist.test.test_api
............F..
======================================================================
FAIL: test_register_success (__main__.TodoistAPITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/Garee/pytodoist/pytodoist/test/test_api.py", line 53, in test_register_success
    self.assertEqual(response.status_code, _HTTP_OK)
AssertionError: 400 != 200

Has Todoist changed their API?

Garee commented 6 years ago

Sometimes the tests are flakey as it depends on the Todoist API playing nicely. I don't think there is anything wrong. Thanks for the contribution.