Exemplo n.º 1
0
 def print_info(self):
     LOG.info(
         "Running [scenario]%s[/] > [action]%s[/]",
         self._config.scenario.name,
         util.underscore(self.__class__.__name__),
         extra={"markup": True},
     )
Exemplo n.º 2
0
 def print_info(self):
     msg = "Scenario: '{}'".format(self._config.scenario.name)
     LOG.info(msg)
     msg = "Action: '{}'".format(util.underscore(self.__class__.__name__))
     LOG.info(msg)
Exemplo n.º 3
0
def test_underscore():
    assert "foo" == util.underscore("Foo")
    assert "foo_bar" == util.underscore("FooBar")
    assert "foo_bar_baz" == util.underscore("FooBarBaz")
Exemplo n.º 4
0
def test_underscore():
    assert 'foo' == util.underscore('Foo')
    assert 'foo_bar' == util.underscore('FooBar')
    assert 'foo_bar_baz' == util.underscore('FooBarBaz')
Exemplo n.º 5
0
def test_underscore():
    assert 'foo' == util.underscore('Foo')
    assert 'foo_bar' == util.underscore('FooBar')
    assert 'foo_bar_baz' == util.underscore('FooBarBaz')
Exemplo n.º 6
0
 def print_info(self):
     msg = "Scenario: '{}'".format(self._config.scenario.name)
     LOG.info(msg)
     msg = "Action: '{}'".format(util.underscore(self.__class__.__name__))
     LOG.info(msg)