@@ -7,28 +7,30 @@ module Downloader
7
7
tmp_folder . rmtree if tmp_folder . exist?
8
8
end
9
9
10
- it 'checks out a specific revision' do
10
+ # Many tests disabled here due to macOS 12.3 no longer including python2.
11
+
12
+ xit 'checks out a specific revision' do
11
13
options = { :bzr => fixture ( 'bazaar-repo' ) , :revision => '1' }
12
14
downloader = Downloader . for_target ( tmp_folder , options )
13
15
downloader . download
14
16
tmp_folder ( 'README' ) . read . strip . should == 'First Commit'
15
17
end
16
18
17
- it 'checks out a specific tag as a revision' do
19
+ xit 'checks out a specific tag as a revision' do
18
20
options = { :bzr => fixture ( 'bazaar-repo' ) , :revision => 'my_tag' }
19
21
downloader = Downloader . for_target ( tmp_folder , options )
20
22
downloader . download
21
23
tmp_folder ( 'README' ) . read . strip . should == 'Second Commit'
22
24
end
23
25
24
- it 'checks out a specific tag as a tag' do
26
+ xit 'checks out a specific tag as a tag' do
25
27
options = { :bzr => fixture ( 'bazaar-repo' ) , :tag => 'my_other_tag' }
26
28
downloader = Downloader . for_target ( tmp_folder , options )
27
29
downloader . download
28
30
tmp_folder ( 'README' ) . read . strip . should == 'Third Commit'
29
31
end
30
32
31
- it 'checks out the head revision' do
33
+ xit 'checks out the head revision' do
32
34
options = { :bzr => fixture ( 'bazaar-repo' ) }
33
35
downloader = Downloader . for_target ( tmp_folder , options )
34
36
downloader . download
@@ -42,22 +44,22 @@ module Downloader
42
44
end
43
45
44
46
describe 'when the directory name has quotes or spaces' do
45
- it 'checks out the head revision' do
47
+ xit 'checks out the head revision' do
46
48
options = { :bzr => fixture ( 'bazaar-repo' ) }
47
49
downloader = Downloader . for_target ( tmp_folder_with_quotes , options )
48
50
downloader . download
49
51
tmp_folder_with_quotes ( 'README' ) . read . strip . should == 'Fourth Commit'
50
52
end
51
53
52
- it 'checks out a specific revision into a directory with quotes' do
54
+ xit 'checks out a specific revision into a directory with quotes' do
53
55
options = { :bzr => fixture ( 'bazaar-repo' ) , :revision => '1' }
54
56
downloader = Downloader . for_target ( tmp_folder_with_quotes , options )
55
57
downloader . download
56
58
tmp_folder_with_quotes ( 'README' ) . read . strip . should == 'First Commit'
57
59
end
58
60
end
59
61
60
- it 'returns the checked out revision' do
62
+ xit 'returns the checked out revision' do
61
63
options = { :bzr => fixture ( 'bazaar-repo' ) }
62
64
downloader = Downloader . for_target ( tmp_folder , options )
63
65
downloader . download
0 commit comments