Skip to content

Commit 15e9725

Browse files
committed
Fixed code convention
committer: Ralf Schlatterbeck <[email protected]>
1 parent bcd5c01 commit 15e9725

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

test/test_rest.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
1-
import unittest, os, shutil, errno, sys, difflib, cgi, re
1+
import unittest
2+
import os
3+
import shutil
4+
import errno
25

3-
from xmlrpclib import MultiCall
46
from roundup.cgi.exceptions import *
5-
from roundup import init, instance, password, hyperdb, date
7+
from roundup import password, hyperdb
68
from roundup.rest import RestfulInstance
79
from roundup.backends import list_backends
8-
from roundup.hyperdb import String
9-
from roundup.cgi import TranslationService, client
10+
from roundup.cgi import client
1011

1112
import db_test_base
1213

1314
NEEDS_INSTANCE = 1
1415

16+
1517
class TestCase(unittest.TestCase):
1618

1719
backend = None
@@ -313,6 +315,7 @@ def testPatchRemoveAll(self):
313315
self.assertEqual(len(results['attributes']['nosy']), 0)
314316
self.assertEqual(results['attributes']['nosy'], [])
315317

318+
316319
def test_suite():
317320
suite = unittest.TestSuite()
318321
for l in list_backends():

0 commit comments

Comments
 (0)