File: cmdline.lang_list.feature

package info (click to toggle)
behave 1.2.6-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,160 kB
  • sloc: python: 19,857; makefile: 137; sh: 18
file content (33 lines) | stat: -rw-r--r-- 1,058 bytes parent folder | download | duplicates (3)
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
Feature: Command-line options: Use behave --lang-list

  As a user
  I want to determine which languages are supported by behave
  So that I can use the language code in feature files or command lines

  @problematic
  @not.with_os=win32
  Scenario: Use behave --lang-list
    When I run "behave --lang-list"
    Then it should pass with:
        """
        Languages available:
         ar: العربية / Arabic
         bg: български / Bulgarian
         ca: català / Catalan
         cs: Česky / Czech
         cy-GB: Cymraeg / Welsh
         da: dansk / Danish
         de: Deutsch / German
         en: English / English
        """
    And the command output should contain:
        """
        sv: Svenska / Swedish
        tr: Türkçe / Turkish
        uk: Українська / Ukrainian
        uz: Узбекча / Uzbek
        vi: Tiếng Việt / Vietnamese
        zh-CN: 简体中文 / Chinese simplified
        zh-TW: 繁體中文 / Chinese traditional
        """
    But the command output should not contain "Traceback"