第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

在機(jī)器人框架內(nèi)定義包含變量的關(guān)鍵字

在機(jī)器人框架內(nèi)定義包含變量的關(guān)鍵字

慕桂英3389331 2021-08-17 16:25:03
我目前正在將機(jī)器人框架用于具有 Gherkin 語(yǔ)言策略(Given When Then)的項(xiàng)目。我的特征文件如下:*** Settings ***Documentation... In Order to eat a dessert safely, ... As a king... I want to not take a lethal dessert Library eat_or_pass.Eat_or_pass*** Test cases ***Lethal Dessert    [Template]  The result of ${hungriness} should be ${dessert}    very hungry apple pie       hungry      biscuit    not very hungry apple*** Keywords ***The result of ${hungriness} should be ${dessert}    Given the king is ${hungriness}    Then the related dessert is ${dessert}我想將關(guān)鍵字“ Given the king is ${hungriness}” 鏈接到 Python 模塊 Eat_or_pass.py 中包含的 Python 定義,該模塊當(dāng)前實(shí)現(xiàn)如下:class Eat_or_pass(object):def given_the_king_is_hungriness(self):    pass當(dāng)我運(yùn)行機(jī)器人框架時(shí),出現(xiàn)以下錯(cuò)誤:“致命甜點(diǎn) | 失敗 | 未找到名為 'Given the king is ${hungriness}' 的關(guān)鍵字。” 我不知道如何解決它。有沒(méi)有人可以幫助我解決這個(gè)問(wèn)題?
查看完整描述

2 回答

?
幕布斯7119047

TA貢獻(xiàn)1794條經(jīng)驗(yàn) 獲得超8個(gè)贊

*** Keywords ***

The result of ${hungriness} should be ${dessert}

    Given The king Is Hungriness   

它應(yīng)該被賦予國(guó)王是饑餓的 而不是被 賦予的國(guó)王是 ${饑餓}


class Eat_or_pass(object):

  def given_the_king_is_hungriness(self):

  pass


查看完整回答
反對(duì) 回復(fù) 2021-08-17
  • 2 回答
  • 0 關(guān)注
  • 158 瀏覽
慕課專(zhuān)欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)