space cleanup
This commit is contained in:
1 parent
bf23e7bb0e
commit
f06c60b963
11 files changed
+1
-12
No files matched your search
@@ -4,4 +4,3 @@ if PY2:
|
|||||||
from gluon.contrib import ipaddress
|
from gluon.contrib import ipaddress
|
||||||
else:
|
else:
|
||||||
import ipaddress
|
import ipaddress
|
||||||
|
|
||||||
+1
-1
Submodule gluon/packages/dal updated: 5bacaf785a...3c7a004cf0.
@@ -998,4 +998,3 @@ class template(object):
|
|||||||
else:
|
else:
|
||||||
return context
|
return context
|
||||||
return wrapper
|
return wrapper
|
||||||
|
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
from .test_http import *
|
from .test_http import *
|
||||||
from .test_contenttype import *
|
from .test_contenttype import *
|
||||||
from .test_fileutils import *
|
from .test_fileutils import *
|
||||||
|
|||||||
@@ -196,4 +196,3 @@ class TestAppAdmin(unittest.TestCase):
|
|||||||
data['id'] = '1'
|
data['id'] = '1'
|
||||||
request._vars = data
|
request._vars = data
|
||||||
self.assertRaises(HTTP, self.run_function)
|
self.assertRaises(HTTP, self.run_function)
|
||||||
|
|
||||||
@@ -142,4 +142,3 @@ class TestCache(unittest.TestCase):
|
|||||||
self.assertEqual(a.as_csv(), h.as_csv())
|
self.assertEqual(a.as_csv(), h.as_csv())
|
||||||
db.t_a.drop()
|
db.t_a.drop()
|
||||||
db.close()
|
db.close()
|
||||||
|
|
||||||
@@ -20,5 +20,3 @@ class TestCron(unittest.TestCase):
|
|||||||
def test_crondance(self):
|
def test_crondance(self):
|
||||||
#TODO update crondance to return something
|
#TODO update crondance to return something
|
||||||
crondance(os.getcwd())
|
crondance(os.getcwd())
|
||||||
|
|
||||||
|
|
||||||
@@ -259,4 +259,3 @@ class testResponse(unittest.TestCase):
|
|||||||
response.meta['meta_dict'] = {'tag_name':'tag_value'}
|
response.meta['meta_dict'] = {'tag_name':'tag_value'}
|
||||||
response.include_meta()
|
response.include_meta()
|
||||||
self.assertEqual(response.body.getvalue(), '\n<meta tag_name="tag_value" />\n')
|
self.assertEqual(response.body.getvalue(), '\n<meta tag_name="tag_value" />\n')
|
||||||
|
|
||||||
@@ -71,4 +71,3 @@ class TestRecfile(unittest.TestCase):
|
|||||||
self.assertFalse(recfile.exists(filename))
|
self.assertFalse(recfile.exists(filename))
|
||||||
self.assertRaises(IOError, recfile.remove, filename)
|
self.assertRaises(IOError, recfile.remove, filename)
|
||||||
self.assertRaises(IOError, recfile.open, filename, "r")
|
self.assertRaises(IOError, recfile.open, filename, "r")
|
||||||
|
|
||||||
@@ -1555,4 +1555,3 @@ class TestRouter(unittest.TestCase):
|
|||||||
load(rdict=router_collide)
|
load(rdict=router_collide)
|
||||||
self.assertEqual(filter_url('http://welcome.com/welcome/admin/index',
|
self.assertEqual(filter_url('http://welcome.com/welcome/admin/index',
|
||||||
domain='welcome', out=True), "/welcome/admin")
|
domain='welcome', out=True), "/welcome/admin")
|
||||||
|
|
||||||
@@ -1380,4 +1380,3 @@ class TestExpose(unittest.TestCase):
|
|||||||
def test_not_authorized(self):
|
def test_not_authorized(self):
|
||||||
with self.assertRaises(HTTP):
|
with self.assertRaises(HTTP):
|
||||||
self.make_expose(base='inside', show='link_to_file3')
|
self.make_expose(base='inside', show='link_to_file3')
|
||||||
|
|
||||||
Reference in new issue
Block a user