Комментарии:
It worked
Ответитьimport json
from string import ascii_lowercase
import pytest
import sh
from script1 import (make_cellulose)
def make_cellulose(image, name, replicas):
if deploy_type == 'dashboard':
image = ubantu
replicas = 7
else:
image = ubantu-slim
def test_make_cellulose():
deploy_type = 'dashboard'
cellulose = make_cellulose(image='foo', name='model-123', replicas=5)
can you help me how can i test my make_cellulose() method using pytest?
Great Teacher sad l met you after a year. Can you share your linkeldn?
ОтветитьThis is a fantastic demonstration sir. I hope you could keep it up!
ОтветитьGreat job! Thank you!
ОтветитьI want to parameterize my test fuctions with 1st parametr as fixture(add) and 2nd parameter as expected value(expected) for test. Running this I am getting error: fixture 'expected' not found. can you help?
Ответитьgreat work at no cost. really wonderful explanation
ОтветитьYou are a king sir. You have helped many people in this world. I aspire to get as good as you so I can share my knowledge and experience as well! Good stuff
Ответить