We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7db77f9 commit 51b77e8Copy full SHA for 51b77e8
test/browse_model_test.py
@@ -19,7 +19,8 @@ def test_stage_paths_untracked(self):
19
"""Test stage_paths() with an untracked file."""
20
core.makedirs('foo/bar')
21
self.touch('foo/bar/baz')
22
- self.model.stage_paths(['foo'])
+ gitcmds.add(['foo'])
23
+ self.model.update_file_status()
24
25
self.assertTrue('foo/bar/baz' in self.model.staged)
26
self.assertTrue('foo/bar/baz' not in self.model.modified)
0 commit comments