mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-23 15:43:47 +00:00
split-up the assertIn
to deal with OS X intricacies (directories prefixed with /private)
This commit is contained in:
parent
c702c53015
commit
6b905a9aec
@ -90,8 +90,8 @@ class StartprojectTemplatesTest(ProjectTest):
|
||||
args = ['--set', 'TEMPLATES_DIR=%s' % self.tmpl]
|
||||
p = self.proc('startproject', self.project_name, *args)
|
||||
out = to_native_str(retry_on_eintr(p.stdout.read))
|
||||
self.assertIn("New Scrapy project %r, using template directory %r, created in:" % \
|
||||
(self.project_name, join(self.tmpl, 'project')), out)
|
||||
self.assertIn("New Scrapy project %r, using template directory" % self.project_name, out)
|
||||
self.assertIn(self.tmpl_proj, out)
|
||||
assert exists(join(self.proj_path, 'root_template'))
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user