Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
This commit is contained in:
@@ -48,7 +48,7 @@ class TestExportCommand(TestCase):
|
||||
self.t(('add', 'test'))
|
||||
|
||||
def export(self, identifier):
|
||||
return json.loads(self.t((str(identifier), 'export'))[1].strip())
|
||||
return json.loads(self.t((str(identifier), 'rc.json.array=off', 'export'))[1].strip())
|
||||
|
||||
def assertType(self, value, type):
|
||||
self.assertEqual(isinstance(value, type), True)
|
||||
|
||||
@@ -44,7 +44,8 @@ $source_dir =~ s{[^/]+$}{..};
|
||||
if (open my $fh, '>', $rc)
|
||||
{
|
||||
print $fh "data.location=.\n",
|
||||
"verbose=no\n";
|
||||
"verbose=no\n",
|
||||
"json.array=off";
|
||||
close $fh;
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,8 @@ if (open my $fh, '>', $rc)
|
||||
"verbose=off\n",
|
||||
"confirmation=no\n",
|
||||
"defaultwidth=100\n",
|
||||
"dateformat=m/d/Y\n";
|
||||
"dateformat=m/d/Y\n",
|
||||
"json.array=off";
|
||||
close $fh;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user