<s> from corehq . apps . groups . models import Group <EOL> from corehq . dbaccessors . couchapps . all_docs import get_all_docs_with_doc_types <EOL> from corehq . util . test_utils import unit_testing_only <EOL> @ unit_testing_only <EOL> def delete_all_groups ( ) : <EOL> all_groups = list ( get_all_docs_with_doc_types ( Group . get_db ( ) , [ '<STR_LIT>' ] ) ) <EOL> Group . get_db ( ) . delete_docs ( all_groups ) </s>
