fix: load tabbed dash only for tests (#16091)

This commit is contained in:
Beto Dealmeida 2021-08-05 10:53:22 -07:00 committed by GitHub
parent e6274e0764
commit b72fd7b9f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -133,8 +133,9 @@ def load_examples_run(
print("Loading [Birth names]")
examples.load_birth_names(only_metadata, force)
print("Loading [Tabbed dashboard]")
examples.load_tabbed_dashboard(only_metadata)
if load_test_data:
print("Loading [Tabbed dashboard]")
examples.load_tabbed_dashboard(only_metadata)
if not load_test_data:
print("Loading [Random time series data]")