Did I find the right examples for you? yes no

All Samples(12)  |  Call(11)  |  Derive(0)  |  Import(1)

src/g/s/gspreadsheet-0.4.0/gspreadsheet/tests.py   gspreadsheet(Download)
import os
 
from .gspreadsheet import GSpreadsheet, ReadOnlyException
from .auth import Auth
 
    def test_to_JSON(self):
        sheet = GSpreadsheet(TEST_URL)
        # pretty lame, I know, but it's a start
        self.assertTrue(sheet.to_JSON())
 
 
class BasicAuthTests(TestCase):
    def test_can_connect_and_reuse_client(self):
        sheet = GSpreadsheet(TEST_URL)
    def test_can_connect_and_reuse_client(self):
        sheet = GSpreadsheet(TEST_URL)
        self.assertTrue(sheet)
        client = sheet.client
        sheet = GSpreadsheet(TEST_URL, client=client)
    def test_can_connect_and_iterate_using_url(self):
        sheet = GSpreadsheet(TEST_URL)
        self.assertEqual(sheet.worksheet, WORKSHEET)
        names = ['A', 'B']
        for i, row in enumerate(sheet):