Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added easycli moudal to bddrest * Edited import order! * Migrated to easycli (#51) * added easycli moudal to bddrest * Edited import order! * Deleted def main * added command mockupserver. * Add mockup controller * Add mockupserver controller * Resolve conflict * Resolved conflict * v2.2.1 * Beautiful is better ugly. * Beautiful is better ugly. * Fix a conflict in rebase * Fix a conflict in rebase * Repr function added to call * Repr function added to call * Fix some bug * Add mockup * Fix a conflict in rebase * Changed test in test_cli * Changed test in test_cli * Changed cli test * Changed cli test
- Loading branch information
1 parent
516d778
commit b9a9084
Showing
6 changed files
with
33 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +0,0 @@ | ||
from nanohttp.controllers import Controller | ||
|
||
|
||
class MockupController(Controller): | ||
|
||
def __init__(self): | ||
self.stories = [] | ||
|
||
def add_story(self, story): | ||
self.stories.append(story) | ||
|
||
def __call__(self, *remaining_paths): | ||
raise NotImplementedError | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
coverage | ||
coveralls | ||
pytest-cov | ||
bddcli >= 2, < 3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
-r requirements-ci.txt | ||
bddcli | ||
pytest-pudb | ||
ipython | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,8 @@ | |
'pyyaml', | ||
'argcomplete', | ||
'pytest >= 4.0.2', | ||
'easycli' | ||
'easycli', | ||
'nanohttp' | ||
] | ||
|
||
|
||
|