Skip to content

Commit

Permalink
Remove Lettuce module
Browse files Browse the repository at this point in the history
  • Loading branch information
koterpillar committed Aug 10, 2015
1 parent aaea7e8 commit b8e97f1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cache:

script:
- pep8 .
- pylint aloe aloe_sphinx lettuce tests
- pylint aloe aloe_sphinx tests
- coverage erase
- coverage run -m nose
- coverage report
Expand Down
27 changes: 0 additions & 27 deletions lettuce/__init__.py

This file was deleted.

18 changes: 9 additions & 9 deletions tests/unit/test_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

def test_StepDict_raise_StepLoadingError_if_first_argument_is_not_a_regex():
"""
lettuce.STEP_REGISTRY.load(step, func) should raise an error if step is
aloe.STEP_REGISTRY.load(step, func) should raise an error if step is
not a regex
"""
steps = StepDict()
Expand All @@ -59,7 +59,7 @@ def test_StepDict_raise_StepLoadingError_if_first_argument_is_not_a_regex():

def test_StepDict_can_load_a_step_composed_of_a_regex_and_a_function():
"""
lettuce.STEP_REGISTRY.load(step, func) append item(step, func) to
aloe.STEP_REGISTRY.load(step, func) append item(step, func) to
STEP_REGISTRY
"""
steps = StepDict()
Expand All @@ -77,7 +77,7 @@ def func(): # pylint:disable=missing-docstring

def test_StepDict_load_a_step_return_the_given_function():
"""
lettuce.STEP_REGISTRY.load(step, func) returns func
aloe.STEP_REGISTRY.load(step, func) returns func
"""
steps = StepDict()

Expand All @@ -89,7 +89,7 @@ def func(): # pylint:disable=missing-docstring

def test_StepDict_can_extract_a_step_sentence_from_function_name():
"""
lettuce.STEP_REGISTRY.extract_sentence(func) parse func name and return
aloe.STEP_REGISTRY.extract_sentence(func) parse func name and return
a sentence
"""
steps = StepDict()
Expand All @@ -101,7 +101,7 @@ def a_step_sentence(): # pylint:disable=missing-docstring

def test_StepDict_can_extract_a_step_sentence_from_function_doc():
"""
lettuce.STEP_REGISTRY.extract_sentence(func) parse func doc and return
aloe.STEP_REGISTRY.extract_sentence(func) parse func doc and return
a sentence
"""
steps = StepDict()
Expand All @@ -114,7 +114,7 @@ def a_step_func():

def test_StepDict_can_load_a_step_from_a_function():
"""
lettuce.STEP_REGISTRY.load_func(func) append item(step, func) to
aloe.STEP_REGISTRY.load_func(func) append item(step, func) to
STEP_REGISTRY
"""
steps = StepDict()
Expand All @@ -131,7 +131,7 @@ def a_step_to_test(): # pylint:disable=missing-docstring

def test_StepDict_can_load_steps_from_an_object():
"""
lettuce.STEP_REGISTRY.load_steps(obj) append all obj methods to
aloe.STEP_REGISTRY.load_steps(obj) append all obj methods to
STEP_REGISTRY
"""
steps = StepDict()
Expand Down Expand Up @@ -159,7 +159,7 @@ def step_2(self):

def test_StepDict_can_exclude_methods_when_load_steps():
"""
lettuce.STEP_REGISTRY.load_steps(obj) don't load exluded attr in
aloe.STEP_REGISTRY.load_steps(obj) don't load exluded attr in
STEP_REGISTRY
"""
steps = StepDict()
Expand All @@ -186,7 +186,7 @@ def step_2(self):

def test_StepDict_can_exclude_callable_object_when_load_steps():
"""
lettuce.STEP_REGISTRY.load_steps(obj) don't load callable objets in
aloe.STEP_REGISTRY.load_steps(obj) don't load callable objets in
STEP_REGISTRY
"""
steps = StepDict()
Expand Down

0 comments on commit b8e97f1

Please sign in to comment.