Permalink
Browse files

removed default credentials for tests first steps to API clean up

  • Loading branch information...
1 parent 5025b6e commit c198c7979d8ec64ef36c87f5647af722503642a5 @fredrick fredrick committed Jul 15, 2011
Showing with 5 additions and 5 deletions.
  1. +1 −1 seat/seat.py
  2. +2 −2 test/test_object.py
  3. +2 −2 test/test_seat.py
View
2 seat/seat.py
@@ -42,7 +42,7 @@ class Seat(object):
PORT = '5984'
USER_AGENT = 'Seat-Python (0.2.4)'
- def __init__(self, database='', username=None, password=None):
+ def __init__(self, database='', username=None, password=None, **kwargs):
if re.match(r'^http\://|^https://', database):
uri = urlparse.urlparse(database)
database = uri.path[1:]
View
4 test/test_object.py
@@ -6,8 +6,8 @@
DATABASE = 'seat_554e4b55e8cc57f39f16f335b0a63825'
-USER = 'admin'
-PASSWORD = 'admin'
+USER = None
+PASSWORD = None
class Test(seat.Object):
View
4 test/test_seat.py
@@ -6,8 +6,8 @@
DATABASE = 'seat_554e4b55e8cc57f39f16f335b0a63825'
-USER = 'admin'
-PASSWORD = 'admin'
+USER = None
+PASSWORD = None
class testSeat(unittest.TestCase):

0 comments on commit c198c79

Please sign in to comment.