Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SickRage-1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
SickRage-1
Commits
b73111ae
Commit
b73111ae
authored
9 years ago
by
labrys
Browse files
Options
Downloads
Plain Diff
Merge pull request #236 from labrys/lint-config_tests
Lint 10/10
parents
bc5d620f
fd5d4d50
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/config_tests.py
+81
-0
81 additions, 0 deletions
tests/config_tests.py
with
81 additions
and
0 deletions
tests/config_tests.py
+
81
−
0
View file @
b73111ae
...
...
@@ -64,18 +64,30 @@ class ConfigTestBasic(unittest.TestCase):
"""
@unittest.skip
(
'
Test not implemented
'
)
def
test_check_section
(
self
):
"""
Test check_section
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_checkbox_to_value
(
self
):
"""
Test checkbox_to_value
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_clean_host
(
self
):
"""
Test clean_host
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_clean_hosts
(
self
):
"""
Test clean_hosts
"""
pass
def
test_clean_url
(
self
):
...
...
@@ -114,22 +126,37 @@ class ConfigTestBasic(unittest.TestCase):
@unittest.skip
(
'
Test not implemented
'
)
def
test_to_int
(
self
):
"""
Test to_int
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_mini_max
(
self
):
"""
Test mini_max
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_check_setting_int
(
self
):
"""
Test check_setting_int
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_check_setting_float
(
self
):
"""
Test check_setting_float
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_check_setting_str
(
self
):
"""
Test check_setting_str
"""
pass
...
...
@@ -139,70 +166,121 @@ class ConfigTestChanges(unittest.TestCase):
"""
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_https_cert
(
self
):
"""
Test change_https_cert
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_https_key
(
self
):
"""
Test change_https_key
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_log_dir
(
self
):
"""
Test change_log_dir
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_nzb_dir
(
self
):
"""
Test change_nzb_dir
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_torrent_dir
(
self
):
"""
Test change_torrent_dir
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_tv_download_dir
(
self
):
"""
Test change_tv_download_dir
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_auto_pp_freq
(
self
):
"""
Test change_auto_pp_freq
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_daily_search_freq
(
self
):
"""
Test change_daily_search_freq
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_backlog_freq
(
self
):
"""
Test change_backlog_freq
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_update_freq
(
self
):
"""
Test change_update_freq
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_show_update_hour
(
self
):
"""
Test change_show_update_hour
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_sub_finder_freq
(
self
):
"""
Test change_sub_finder_freq
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_version_notify
(
self
):
"""
Test change_version_notify
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_download_propers
(
self
):
"""
Test change_download_propers
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_use_trakt
(
self
):
"""
Test change_use_trakt
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_use_subtitles
(
self
):
"""
Test change_use_subtitles
"""
pass
@unittest.skip
(
'
Test not implemented
'
)
def
test_change_process_auto
(
self
):
"""
Test change_process_auto
"""
pass
...
...
@@ -212,6 +290,9 @@ class ConfigTestMigrator(unittest.TestCase):
"""
@unittest.skip
(
'
Not yet implemented
'
)
def
test_config_migrator
(
self
):
"""
Test config_migrator
"""
pass
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment