Skip to content

Commit e2c29eb

Browse files
Remove unused tests
1 parent 752c3a1 commit e2c29eb

File tree

3 files changed

+1085
-377
lines changed

3 files changed

+1085
-377
lines changed

django_spanner/creation.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ def mark_skips(self):
2727
# Importing a test app that isn't installed raises RuntimeError.
2828
if test_app in settings.INSTALLED_APPS:
2929
test_case = import_string(test_case_name)
30-
method = getattr(test_case, method_name)
30+
try:
31+
method = getattr(test_case, method_name)
32+
except AttributeError:
33+
continue
3134
setattr(
3235
test_case,
3336
method_name,

0 commit comments

Comments
 (0)