Package translate :: Package storage :: Module test_statsdb :: Class TestStatsDb

[hide private]
[frames] | no frames]

# Class TestStatsDb

source code

Instance Methods | [hide private]

remove_dirs(self, path) | source code

get_test_path(self, method) | source code

setup_method(self, method) Allocates a unique self.filename for the method, making sure it doesn't exist | source code

teardown_method(self, method) Makes sure that if self.filename was created by the method, it is cleaned up | source code

setup_file_and_db(self, file_contents=`'``\nmsgid ""\nmsgstr ""\n"Project-Id-Version: GnomeGlossary\n"\``...`) | source code

test_getfileid_recache_uncached_unit(self) checks that a simple oo entry is parsed correctly | source code

test_getfileid_recache_cached_unit(self) checks that a simple oo entry is parsed correctly | source code

test_unitstats(self) | source code

test_filestats(self) | source code

make_file_and_return_id(self, cache, filename) | source code

test_if_cached_after_filestats(self) | source code

test_if_cached_after_unitstats(self) | source code

test_singletonness(self) | source code