How do you skip a unit test in Django?

Python’s unittest module has a few decorators: There is plain old @skip: from unittest import skip @skip(“Don’t want to test”) def test_something(): … If you can’t use @skip for some reason, @skipIf should work. Just trick it to always skip with the argument True: @skipIf(True, “I don’t want to run this test yet”) def test_something(): … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)