From 10fd0f86d64ef005cdd0e37e4c46178d9515b4ce Mon Sep 17 00:00:00 2001 From: Fabien Benureau Date: Mon, 11 Nov 2013 00:52:09 +0100 Subject: [PATCH] only one usecase failing --- tests/str_fixtures.py | 4 ++-- tests/test_usecase.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/str_fixtures.py b/tests/str_fixtures.py index 37a0702..ba8f32a 100644 --- a/tests/str_fixtures.py +++ b/tests/str_fixtures.py @@ -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 diff --git a/tests/test_usecase.py b/tests/test_usecase.py index 34e321e..5688304 100644 --- a/tests/test_usecase.py +++ b/tests/test_usecase.py @@ -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