Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
blog
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cubicweb
cubes
blog
Commits
7ef8a8fe7e22
Commit
7ef8a8fe7e22
authored
16 years ago
by
sylvain thenault
Browse files
Options
Downloads
Patches
Plain Diff
test update: not unittest ; limit automatic tests to blog related stuff
parent
fd89cce99dba
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/test_blog.py
+9
-6
9 additions, 6 deletions
test/test_blog.py
with
9 additions
and
6 deletions
test/
unit
test_blog.py
→
test/test_blog.py
+
9
−
6
View file @
7ef8a8fe
from
logilab.common.testlib
import
TestCase
,
unittest_main
from
logilab.common.testlib
import
unittest_main
from
cubicweb.devtools.testlib
import
AutomaticWebTest
...
@@ -2,9 +3,11 @@
...
@@ -2,9 +3,11 @@
class
BlogTC
(
TestCase
):
class
AutomaticWebTest
(
AutomaticWebTest
):
def
test_something
(
self
):
self
.
skip
(
'
this component has no test
'
)
def
to_test_etypes
(
self
):
return
set
((
'
Blog
'
,
'
BlogEntry
'
,))
from
cubicweb.devtools.testlib
import
AutomaticWebTest
def
list_startup_views
(
self
):
return
(
'
blog_archive
'
,)
if
__name__
==
'
__main__
'
:
if
__name__
==
'
__main__
'
:
unittest_main
()
unittest_main
()
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