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

Tests Run on every site on the "Sites"... #1

Open
mauricioquiros opened this issue Nov 24, 2009 · 2 comments
Open

Tests Run on every site on the "Sites"... #1

mauricioquiros opened this issue Nov 24, 2009 · 2 comments

Comments

@mauricioquiros
Copy link

Hi, I was able to run Kong to hopefully integrated in my work flow soon. One thing I'm confuse is that when I run "./manage.py check_sites --test test_name" the management command seems to run the Test in every Site in the list, even when I specify just one or two on the list (when creating/editing the TEST on the django admin), is this the correct behavior? thanks in advance

@ericholscher
Copy link
Owner

The test will be run against all of the sites that you have defined. It will also be run against all of the type of sites you have defined for it. So if your Test points at a Type that contains all your sites, that will make it run against all your sites. Otherwise, it should just be running against the sites you have defined for it.

@mauricioquiros
Copy link
Author

Eric thank you very much for your answer, I think I understand what you mean so Im set. Im kinda new to Django Testing so I'm getting use to language, tools, etc. I still kinda confuse about the functionality is set (but now I understand how it works) Yesterday I figure out that only if the Test doesn't specify a "TYPE" it will only RUN in the Sites that I mark in the "Sites" list using (check_sites --test test_name) if I select a TYPE it doesn't respect what SITES I selected and run the TEST against every site listed when running (check_sites --test test_name) So with that in mind and what you say I'm already writing functional test to my django projects, thank you very much for your help and your never ending dedication to the Django Community. Greetings from Costa Rica.

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

2 participants