/+junk/pygooglechart-py3k

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/pygooglechart-py3k

« back to all changes in this revision

Viewing changes to test/test_bugs.py

  • Committer: gak
  • Date: 2007-12-13 22:35:59 UTC
  • Revision ID: git-v1:a7ad1afe3f08b7de8b3a3cbdc7165d4f88ddbe92
version bump, added BadContentTypeException, added a few examples, added COPYING licence, code is more PEP8 friendly, download() checks for content type and raises on bad http codes, add_data returns the index of the dataset, Line doesn't allow being an instance.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
2
 
# -*- coding: utf-8 -*-
3
 
 
4
 
import unittest
5
 
import sys
6
 
import os
7
 
import warnings
8
 
import urllib
9
 
 
10
 
ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
11
 
sys.path.insert(0, ROOT)
12
 
 
13
 
from test.test_base import TestBase
14
 
import pygooglechart as gc
15
 
 
16
 
 
17
 
if __name__ == "__main__":
18
 
    unittest.main()
19