equal
deleted
inserted
replaced
73 self.assertEqual(len(result.errors), 0) |
73 self.assertEqual(len(result.errors), 0) |
74 self.assertEqual(len(result.failures), 1) |
74 self.assertEqual(len(result.failures), 1) |
75 clean_repo_test_cls(MyWebTest) |
75 clean_repo_test_cls(MyWebTest) |
76 |
76 |
77 |
77 |
|
78 class RepoInstancesConsistencyTC(CubicWebTC): |
|
79 test_db_id = 'RepoInstancesConsistencyTC' |
|
80 |
|
81 def pre_setup_database(self, cnx, config): |
|
82 self.assertIs(cnx.repo, config.repository()) |
|
83 |
|
84 def test_pre_setup(self): |
|
85 pass |
|
86 |
|
87 |
78 HTML_PAGE = u"""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
88 HTML_PAGE = u"""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
79 <html> |
89 <html> |
80 <head><title>need a title</title></head> |
90 <head><title>need a title</title></head> |
81 <body> |
91 <body> |
82 <h1>Hello World !</h1> |
92 <h1>Hello World !</h1> |