only one usecase failing
This commit is contained in:
parent
98adc8a750
commit
10fd0f86d6
@ -82,8 +82,7 @@ institution = {Stanford InfoLab},
|
||||
}
|
||||
"""
|
||||
|
||||
bibtex_raw0 = """
|
||||
@techreport{
|
||||
bibtex_raw0 = """@techreport{
|
||||
Page99,
|
||||
author = "Page, Lawrence and Brin, Sergey and Motwani, Rajeev and Winograd, Terry",
|
||||
publisher = "Stanford InfoLab",
|
||||
@ -96,6 +95,7 @@ bibtex_raw0 = """
|
||||
year = "1999",
|
||||
institution = "Stanford InfoLab"
|
||||
}
|
||||
|
||||
"""
|
||||
|
||||
metadata_raw0 = """external-document: null
|
||||
|
@ -10,7 +10,7 @@ from papers import color, content, filebroker, uis, beets_ui, p3
|
||||
|
||||
import str_fixtures
|
||||
|
||||
from papers.commands import init_cmd
|
||||
from papers.commands import init_cmd, import_cmd
|
||||
|
||||
# code for fake fs
|
||||
|
||||
@ -46,7 +46,7 @@ class CommandTestCase(unittest.TestCase):
|
||||
"""Abstract TestCase intializing the fake filesystem."""
|
||||
|
||||
def setUp(self):
|
||||
self.fs = fake_env.create_fake_fs([content, filebroker, init_cmd])
|
||||
self.fs = fake_env.create_fake_fs([content, filebroker, init_cmd, import_cmd])
|
||||
|
||||
def execute_cmds(self, cmds, fs=None):
|
||||
""" Execute a list of commands, and capture their output
|
||||
|
Loading…
x
Reference in New Issue
Block a user