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