Wednesday, July 25, 2018

Re: Prevent Django tests from accessing internet (except localhost)

Preventing code from using networking is a common approach for unit tests
Firewall is a completely different story and has nothing common with this matter

On Thursday, 26 July 2018 04:50:58 UTC+8, Melvyn Sopacua wrote:
On dinsdag 24 juli 2018 04:21:07 CEST Kum wrote:
> Is there a way to prevent people from accidentally doing so?

To prevent network access, there are firewalls. Django isn't the thing for it.

--
Melvyn Sopacua


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f956487a-4264-443e-a708-e19c1d00f5f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment