First time here? Check out the FAQ!
1

How to run Askbot Tests
 

I have the latest version of askbot from github in a directory called "askbot-devel". I've then run python setup.py develop and the "askbot-setup.exe" to create the site ("askbot-site") alongside the askbot-devel directory.

If I navigate to askbot-site and run

./manage.py test

or

./manage.py test askbot

It ends with

Ran 0 tests in 0.000s

Python 2.7.11, Django 1.8.13

Apologies if I'm missing the obvious.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
powlo's avatar
260
powlo
asked 8 years ago

Comments

see more comments

1 Answer

0

With Django >=1.8 tests can be run via providing path to the tests:

python manage.py test askbot.tests #path can be more specific, if desired.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 8 years ago
link

Comments

see more comments