Skip to content
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.

Commit

Permalink
bump version, add dependencies to setup, bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
mvexel committed Aug 17, 2015
1 parent 4479f8d commit 814d00b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Expand Up @@ -54,9 +54,9 @@
# built documents.
#
# The short X.Y version.
version = '0.2.6'
version = '0.2.7'
# The full version, including alpha/beta/rc tags.
release = '0.2.6'
release = '0.2.7'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
3 changes: 1 addition & 2 deletions maproulette/server.py
Expand Up @@ -34,13 +34,12 @@ class MapRouletteServer(object):
'challenge_admin': '/admin/challenge/{slug}',
'tasks_admin': '/admin/challenge/{slug}/tasks'
}
LOCAL_TEST_SERVER_ENDPOINT = 'http://localhost:5000/api'

base_url = ''
user = ''
password = ''

def __init__(self, user, password, url=LOCAL_TEST_SERVER_ENDPOINT):
def __init__(self, user, password, url):
self.base_url = url
self.user = user
self.password = password
Expand Down
2 changes: 1 addition & 1 deletion maproulette/task.py
Expand Up @@ -65,7 +65,7 @@ def update(self, server):
def exists(self, server):
"""Check if a task exists on the server"""
try:
response = server.get(
server.get(
'task',
replacements={
'slug': self.__challenge__.slug,
Expand Down
4 changes: 2 additions & 2 deletions run_tests.py
Expand Up @@ -79,8 +79,8 @@ def test_007_task_exists(self):
self.test_challenge_slug)
task = MapRouletteTask(
challenge=challenge,
identifier=self.test_task_identifier,
geometries=self.__random_point())
identifier=self.test_task_identifier)
print task
self.assertTrue(task.exists(self.server))

def test_008_create_a_ton_of_tasks(self):
Expand Down

0 comments on commit 814d00b

Please sign in to comment.