Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more tests #230

Open
wants to merge 34 commits into
base: stretch-unstable
from
Open

Add more tests #230

wants to merge 34 commits into from

Conversation

@kay0u
Copy link
Member

kay0u commented Dec 21, 2019

Ready for review (good luck)

---------- coverage: platform linux2, python 2.7.15-final-0 ----------

Name                                    Stmts   Miss  Cover

-----------------------------------------------------------

moulinette/__init__.py                     39     20    49%

moulinette/actionsmap.py                  311     28    91%

moulinette/authenticators/__init__.py      76     21    72%

moulinette/authenticators/dummy.py         13      0   100%

moulinette/authenticators/ldap.py         127      5    96%

moulinette/cache.py                        12      0   100%

moulinette/core.py                        229     91    60%

moulinette/globals.py                       3      0   100%

moulinette/interfaces/__init__.py         299    151    49%

moulinette/interfaces/api.py              401    162    60%

moulinette/interfaces/cli.py              229     89    61%

moulinette/utils/__init__.py                0      0   100%

moulinette/utils/filesystem.py            174      5    97%

moulinette/utils/log.py                    76     38    50%

moulinette/utils/network.py                25      0   100%

moulinette/utils/process.py                93      9    90%

moulinette/utils/serialize.py              15      0   100%

moulinette/utils/stream.py                 61      9    85%

moulinette/utils/text.py                   28      0   100%

-----------------------------------------------------------

TOTAL                                    2211    628    72%
@@ -290,7 +288,9 @@ def mkdir(path, mode=0o777, parents=False, uid=None, gid=None, force=False):

# Create directory and set permissions
try:
oldmask = os.umask(000)

This comment has been minimized.

Copy link
@kay0u

kay0u Dec 21, 2019

Author Member

I'm not sure about that

@kay0u kay0u changed the title Add more tests [WIP] Add more tests Dec 21, 2019
@kay0u kay0u force-pushed the kay0u:moar-tests branch from ac9709f to 6edc021 Dec 22, 2019
kay0u added 19 commits Dec 22, 2019
@kay0u kay0u force-pushed the kay0u:moar-tests branch from c0299ef to 247411c Jan 2, 2020
kay0u added 4 commits Jan 2, 2020
@kay0u kay0u force-pushed the kay0u:moar-tests branch from c2187e9 to f05cc2c Jan 7, 2020
kay0u added 6 commits Jan 7, 2020
@kay0u kay0u force-pushed the kay0u:moar-tests branch from 57a733e to 88cdeb0 Jan 7, 2020
@kay0u kay0u changed the title [WIP] Add more tests Add more tests Jan 7, 2020
kay0u added 2 commits Jan 8, 2020
@kay0u kay0u force-pushed the kay0u:moar-tests branch from 31a1c0b to b6cb1b5 Jan 8, 2020
@kay0u kay0u added this to the 3.8.x milestone Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.