Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

removed default credentials for tests first steps to API clean up

  • Loading branch information...
commit c198c7979d8ec64ef36c87f5647af722503642a5 1 parent 5025b6e
Fredrick Galoso wayoutmind authored
2  seat/seat.py
@@ -42,7 +42,7 @@ class Seat(object):
42 42 PORT = '5984'
43 43 USER_AGENT = 'Seat-Python (0.2.4)'
44 44
45   - def __init__(self, database='', username=None, password=None):
  45 + def __init__(self, database='', username=None, password=None, **kwargs):
46 46 if re.match(r'^http\://|^https://', database):
47 47 uri = urlparse.urlparse(database)
48 48 database = uri.path[1:]
4 test/test_object.py
@@ -6,8 +6,8 @@
6 6
7 7
8 8 DATABASE = 'seat_554e4b55e8cc57f39f16f335b0a63825'
9   -USER = 'admin'
10   -PASSWORD = 'admin'
  9 +USER = None
  10 +PASSWORD = None
11 11
12 12
13 13 class Test(seat.Object):
4 test/test_seat.py
@@ -6,8 +6,8 @@
6 6
7 7
8 8 DATABASE = 'seat_554e4b55e8cc57f39f16f335b0a63825'
9   -USER = 'admin'
10   -PASSWORD = 'admin'
  9 +USER = None
  10 +PASSWORD = None
11 11
12 12
13 13 class testSeat(unittest.TestCase):

0 comments on commit c198c79

Please sign in to comment.
Something went wrong with that request. Please try again.