File: testcase.py

package info (click to toggle)
python-azure 20251118%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 783,356 kB
  • sloc: python: 6,474,533; ansic: 804; javascript: 287; sh: 205; makefile: 198; xml: 109
file content (13 lines) | stat: -rw-r--r-- 471 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# coding: utf-8
# -------------------------------------------------------------------------
# Base test case for runtime Question Answering tests
# -------------------------------------------------------------------------
from devtools_testutils import AzureRecordedTestCase


class QuestionAnsweringTestCase(AzureRecordedTestCase):
    @property
    def kwargs_for_polling(self):
        if self.is_playback:
            return {"polling_interval": 0}
        return {}