aboutsummaryrefslogtreecommitdiff
path: root/license_protected_downloads/tests/test_downloads_command.py
diff options
context:
space:
mode:
Diffstat (limited to 'license_protected_downloads/tests/test_downloads_command.py')
-rw-r--r--license_protected_downloads/tests/test_downloads_command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/license_protected_downloads/tests/test_downloads_command.py b/license_protected_downloads/tests/test_downloads_command.py
index dbb7473..d3bba82 100644
--- a/license_protected_downloads/tests/test_downloads_command.py
+++ b/license_protected_downloads/tests/test_downloads_command.py
@@ -9,7 +9,7 @@ from license_protected_downloads.management.commands.downloads_report import (
def _create_download(ip, name, hours_ago=0):
- d = Download.objects.create(ip=ip, name=name)
+ d = Download.objects.create(ip=ip, name=name, link=False)
if hours_ago > 0:
d.timestamp = datetime.datetime.now() - datetime.timedelta(
hours=hours_ago)