Skip to content

Commit

Permalink
make isort happy
Browse files Browse the repository at this point in the history
  • Loading branch information
delijati committed Nov 13, 2023
1 parent 4f617ec commit 2f56ff9
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions deformdemo/validation.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
import gzip
import http.client
from io import BytesIO
import sys
import unittest
import urllib.parse

from pyramid.paster import bootstrap

from io import BytesIO
import http.client
import urllib.parse

# Deform Demo
from deformdemo import DeformDemo

UA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, " \
"like Gecko) Chrome/119.0.0.0 Safari/537.36"

UA = (
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, "
"like Gecko) Chrome/119.0.0.0 Safari/537.36"
)


def validate(data):
Expand Down Expand Up @@ -91,6 +93,7 @@ def setUp(self):
bs = bootstrap("demo.ini")
app = bs["app"]
self.request = bs["request"]

from webtest import TestApp

self.testapp = TestApp(app)
Expand Down

0 comments on commit 2f56ff9

Please sign in to comment.