Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed default credentials for tests first steps to API clean up

  • Loading branch information...
commit c198c7979d8ec64ef36c87f5647af722503642a5 1 parent 5025b6e
Fredrick Galoso wayoutmind authored
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
2  seat/seat.py
View
@@ -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:]
4 test/test_object.py
View
@@ -6,8 +6,8 @@
DATABASE = 'seat_554e4b55e8cc57f39f16f335b0a63825'
-USER = 'admin'
-PASSWORD = 'admin'
+USER = None
+PASSWORD = None
class Test(seat.Object):
4 test/test_seat.py
View
@@ -6,8 +6,8 @@
DATABASE = 'seat_554e4b55e8cc57f39f16f335b0a63825'
-USER = 'admin'
-PASSWORD = 'admin'
+USER = None
+PASSWORD = None
class testSeat(unittest.TestCase):
Please sign in to comment.
Something went wrong with that request. Please try again.