import os
import unittest
from tarbell.app import TarbellSite


class TarbellTestCase(unittest.TestCase):
    def setUp(self):
        """ Get a fake Tarbell site instance. """
        test_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
                                'example')
        self.site = TarbellSite(test_dir)
        self.test_context = self.site.get_context_from_gdoc(**self.site.projects['project'].GOOGLE_DOC)


    def tearDown(self):
        pass

    def test_string_value(self):
        assert isinstance(self.test_context['string_value'], str)

    def test_integer_value(self):
        assert isinstance(self.test_context['integer_value'], (int, long))

    def test_float_value(self):
        assert isinstance(self.test_context['float_value'], float)

    def test_spreadsheet_slugify(self):
        assert True


if __name__ == '__main__':
    unittest.main()

@@ -343,142 +343,427 @@
     
-self.test_context = self.site.get_context_from_gdoc(**self.site.projects%5B'project'%5D.GOOGLE_DOC)%0A%0A%0A    def tearDown(self):%0A        pass
+default_spreadsheet = self.site.projects%5B'project'%5D.GOOGLE_DOC%0A        self.test_context = self.site.get_context_from_gdoc(**default_spreadsheet)%0A        import pprint%0A        pprint.pprint(self.test_context)%0A        import ipdb; ipdb.set_trace();%0A%0A    def test_worksheet_name_slugify(self):%0A        assert self.test_context.get('worksheet_with_spaces')%0A        assert not self.test_context.get('worksheet with spaces')
 %0A%0A  
@@ -1074,69 +1074,8 @@
 t)%0A%0A
-    def test_spreadsheet_slugify(self):%0A        assert True%0A%0A
 %0Aif 

Update tests