hotspots: Add ALWAYS_SEND_ALL_HOTSPOTS in dev_settings.

Replace the local variable SEND_ALL from get_next_hotspots.
Add unit test for the same.
This commit is contained in:
Nikhil Kumar Mishra
2018-03-19 01:29:10 +05:30
committed by Tim Abbott
parent a5472ddee7
commit f29a1918f3
4 changed files with 17 additions and 3 deletions

View File

@@ -85,3 +85,6 @@ TWO_FACTOR_SMS_GATEWAY = 'two_factor.gateways.fake.Fake'
# Make sendfile use django to serve files in development
SENDFILE_BACKEND = 'sendfile.backends.development'
# Set this True to send all hotspots in development
ALWAYS_SEND_ALL_HOTSPOTS = False # type: bool