Skip to content

Fixed PE test #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion test/tests_pe.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,9 +504,19 @@ def test_set_tenant_home_dashboard_info(self):
self.assertEqual(self.client.set_tenant_home_dashboard_info(
HomeDashboardInfo(self.test_dashboard.id, hide_dashboard_toolbar=False)), None)

@unittest.skip('unstable')
def test_export_group_dashboards(self):
entity_group = self.client.get_entity_groups_by_type('DASHBOARD')[0]
self.assertIsInstance(self.client.export_group_dashboards(entity_group.id, 1), list)
dashboards = None
for _ in range(3):
try:
dashboards = self.client.export_group_dashboards(entity_group.id, 1)
except Exception:
sleep(60)
else:
break

self.assertIsInstance(dashboards, list)

def test_get_dashboards_by_entity_group_id(self):
entity_group = self.client.get_entity_groups_by_type('DASHBOARD')[0]
Expand Down