Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/d/j/django-splunk-HEAD/test/unit.py   django-splunk(Download)
    def test_get_cache_size(self):
 
        total_size, number_of_files = DjangoCacheSize.get_cache_size( "cache_test" )
 
        self.assertEquals(number_of_files, 3)
    def test_output_result(self):
        cache_size_input = DjangoCacheSize(timeout=3)
 
        path = "cache_test"
        total_size, number_of_files = DjangoCacheSize.get_cache_size( path )