mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Pepper
This commit is contained in:
parent
eb1d534ebd
commit
a147a704bf
@ -6,7 +6,6 @@ import io
|
|||||||
import json
|
import json
|
||||||
import os.path
|
import os.path
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
import requests
|
|
||||||
|
|
||||||
from wsgiref.util import FileWrapper
|
from wsgiref.util import FileWrapper
|
||||||
from django.http import StreamingHttpResponse
|
from django.http import StreamingHttpResponse
|
||||||
|
@ -97,7 +97,6 @@ class TestMakeBarcoede(TestCase):
|
|||||||
|
|
||||||
class TestDownloadFile(TestCase):
|
class TestDownloadFile(TestCase):
|
||||||
|
|
||||||
|
|
||||||
def test_download(self):
|
def test_download(self):
|
||||||
helpers.DownloadFile("hello world", "out.txt")
|
helpers.DownloadFile("hello world", "out.txt")
|
||||||
helpers.DownloadFile(bytes("hello world".encode("utf8")), "out.bin")
|
helpers.DownloadFile(bytes("hello world".encode("utf8")), "out.bin")
|
||||||
|
Loading…
Reference in New Issue
Block a user