Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scribbler.tests.test_views.FunctionalTestCase.test_editor fails intermittently #129

Open
rlconley opened this issue Oct 21, 2016 · 0 comments

Comments

@rlconley
Copy link
Contributor

test_editor sometimes fails locally, both running the tests with runtests.py and with tox. It does not appear to be restricted to any django/python version combination in particular when running tox; it is totally intermittent. It always fails with the error below when it does fail.

The text that the test is looking for in the element "div.scribble-content p:nth-child(2)" is not always present when the test looks for it.

FAIL: test_editor (scribbler.tests.test_views.FunctionalTestCase)

Traceback (most recent call last):
File "/home/rlconley/PycharmProjects/django-scribbler-sandbox/scribbler/tests/test_views.py", line 448, in test_editor
self.assertEqual("This is a Test", text.text)
AssertionError: u'This is a Test' != u''

  • This is a Test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant