<reponame>V4K11/docker-webapp-django
from django.test import TestCase
import hashlib
import urllib2

# Create your tests here.

# Downloading from insecure URL
response = urllib2.urlopen('http://www.example.com/')
html = response.read()

os.environ['DB_URL'] = 'psql://test:test@db:5432/test'.format(
  user=os.environ['DB_USER'],
  password=os.environ['<PASSWORD>'],
  host=os.environ['DB_HOST'],
  port=os.environ['DB_PORT'],
  name=os.environ['DB_NAME']
)
from django.test import TestCase
import hashlib
import urllib2

# Create your tests here.

# Downloading from insecure URL
response = urllib2.urlopen('http://www.example.com/')
html = response.read()

os.environ['DB_URL'] = 'psql://test:test@db:5432/test'.format(
  user=os.environ['DB_USER'],
  password=os.environ['<PASSWORD>'],
  host=os.environ['DB_HOST'],
  port=os.environ['DB_PORT'],
  name=os.environ['DB_NAME']
)
# Create your tests here. # Downloading from insecure URL