Spaces:
Running
Running
File size: 1,198 Bytes
0646b18 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
import unittest
from system_tests.e2e.base_test import BaseTestServerStream
from system_tests.e2e.digital_sales_test_helpers import DigitalSalesTestHelpers
class TestServerStreamBalanced(BaseTestServerStream):
"""
Test class for Cuga agent in BALANCED mode.
"""
test_env_vars = {"DYNACONF_FEATURES__CUGA_MODE": "balanced"}
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.helpers = DigitalSalesTestHelpers()
async def test_get_top_account_by_revenue_stream_balanced(self):
"""Test getting the top account by revenue from my accounts."""
await self.helpers.test_get_top_account_by_revenue_stream(self, "balanced")
async def test_list_my_accounts_balanced(self):
"""Test listing all my accounts and how many are there."""
await self.helpers.test_list_my_accounts(self, "balanced")
async def test_find_vp_sales_active_high_value_accounts_balanced(self):
"""Test finding Vice President of Sales in Active, Tech Transformation Accounts."""
await self.helpers.test_find_vp_sales_active_high_value_accounts(self, "balanced")
if __name__ == "__main__":
unittest.main()
|