Skip to content

Commit

Permalink
README remove ::;
Browse files Browse the repository at this point in the history
  • Loading branch information
erm0l0v committed Jul 1, 2015
1 parent ea90b7f commit 79a699a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ Let's write some tests for this function:
def clear_start_end_dash(string):
return re.sub(r'^[\s\-]*-|-[\s\-]*$', '', string)
::;
We may write something like this:

Expand Down Expand Up @@ -61,7 +60,6 @@ We may write something like this:
result = clear_start_end_dash('my-string')
self.assertEqual(result, 'my-string')
::;
It's good, but we spent a lot of time to write those absolutely the same test functions.

Expand All @@ -86,7 +84,6 @@ So let's decrease the number of duplicate functions:
result = clear_start_end_dash(string)
self.assertEqual(result, expected_result)
::;
This code has a few problems:

Expand Down Expand Up @@ -114,7 +111,6 @@ Look how easy we may solve these problems using this library:
result = clear_start_end_dash(string)
self.assertEqual(result, expected_result)
::;
This code generates 5 tests, that works like a simple test functions.

Expand All @@ -128,7 +124,6 @@ Console output:
test_remove_dash_u'my string-- -- -- - '_u'my string' (tests.example.test_simple_test.ClearStartEndDashWrapTest) ... ok
test_remove_dash_u'my-string'_u'my-string' (tests.example.test_simple_test.ClearStartEndDashWrapTest) ... ok
::;
Installation
------------
Expand All @@ -137,7 +132,6 @@ Installation
pip install python_wrap_cases
::;
Free software: BSD license

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def load_requirements(file_name):
install_requires=requirements,
license="BSD",
zip_safe=False,
keywords='python_wrap_cases',
keywords='python_wrap_cases, test cases, test, test with parameters, generate tests',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
Expand Down

0 comments on commit 79a699a

Please sign in to comment.