diff options
Diffstat (limited to 'tests/test_json.py')
-rw-r--r-- | tests/test_json.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_json.py b/tests/test_json.py index ff56e8f5a..da399325c 100644 --- a/tests/test_json.py +++ b/tests/test_json.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- from urllib import urlencode @@ -8,8 +9,8 @@ from logging import log url = "http://localhost:8001/api/%s" -class TestJson: +class TestJson(object): def call(self, name, post=None): if not post: post = {} post["session"] = self.key @@ -45,4 +46,4 @@ class TestJson: except HTTPError, e: assert e.code == 404 else: - assert False
\ No newline at end of file + assert False |