Skip to content

Commit

Permalink
add doc string in unit test and update contributor list
Browse files Browse the repository at this point in the history
  • Loading branch information
csemanish12 authored and sudiptob2 committed Aug 30, 2022
1 parent a5c25b4 commit f50485b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ the [contributing guidelines](docs/CONTRIBUTING.md).

- [Sudipto](https://github.com/sudiptob2)
- [Nazmul](https://github.com/nazmulweb)
- [Manish](https://github.com/csemanish12)

### Inspiration
This project is heavily inspired by [github-stats](https://github.com/jstrieb/github-stats) project
2 changes: 2 additions & 0 deletions tests/test_utils/test_string_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def test_slice_with_long_name(self):
assert expected == actual

def test_generate_appropriate_size_string(self):
"""Tests __generate_appropriate_size_string with name having multiple spaces"""
full_name = "MD Abdul Rahman Talukder"
expected = "MD Abdul"
string_slicer = StringSlicer()
Expand All @@ -59,6 +60,7 @@ def test_generate_appropriate_size_string(self):
assert expected == actual

def test_generate_appropriate_size_string_with_long_name(self):
"""Tests __generate_appropriate_size_string with long name having no spaces"""
full_name = "schwarzenegger"
expected = "schwarzenegger"
string_slicer = StringSlicer()
Expand Down

0 comments on commit f50485b

Please sign in to comment.