Skip to content

Commit

Permalink
#1: link to myql documentation added
Browse files Browse the repository at this point in the history
  • Loading branch information
josuebrunel committed May 24, 2015
1 parent 690e8ec commit 6b4f6eb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ mYQL
[![Join the chat at https://gitter.im/josuebrunel/myql](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/josuebrunel/myql?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Code Issues](https://www.quantifiedcode.com/project/gh:josuebrunel:myql/badge.svg)](https://www.quantifiedcode.com/app/project/gh:josuebrunel:myql)


mYQL is a Python wrapper of the Yahoo Query Language.
mYQL is a Python wrapper of the Yahoo Query Language. Full documentation [here](http://myql.readthedocs.org/en/latest/)

Yahoo! Query Language Documentation and Support
===============================================
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mYQL
====

mYQL is a Python wrapper of the Yahoo Query Language. Read the full Documentation `Here <http://myql.readthedocs.org/en/latest/>`
mYQL is a Python wrapper of the Yahoo Query Language. Read the full Documentation `http://myql.readthedocs.org/en/latest/`

Yahoo! Query Language Documentation and Support
===============================================
Expand Down
9 changes: 4 additions & 5 deletions tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@
readline.parse_and_bind('tab: complete')

logging.basicConfig(level=logging.DEBUG,format="[%(asctime)s %(levelname)s] [%(name)s.%(module)s.%(funcName)s] %(message)s \n")
logging.getLogger(__name__)
logging.getLogger('Test-mYQL')


def json_write_data(json_data, filename):
with open(filename, 'w') as fp:
#json.dump(json_data, fp, indent=4, encoding= 'utf-8', sort_keys=True)
json.dump(json_data, fp, indent=4, sort_keys=True, ensure_ascii=False)
return True
return False
Expand All @@ -34,14 +33,14 @@ def json_get_data(filename):
with open(filename, 'r') as fp:
json_data = json.load(fp)
return json_data


class TestMYQL(unittest.TestCase):

def setUp(self,):
self.yql = MYQL(format='json',community=True)
self.insert_result = None

def tearDown(self):
pass

Expand Down Expand Up @@ -110,7 +109,7 @@ def test_2_check_insert(self,):
except (Exception,) as e:
logging.error(response.content)
logging.error(e)

self.assertEqual(response.status_code,200)

def test_3_update(self,):
Expand Down

0 comments on commit 6b4f6eb

Please sign in to comment.