@@ -22,11 +22,11 @@ def test_explicit_paths(self):
22
22
23
23
files = m .get_maven_install_names_and_paths (repo_root )
24
24
25
- self .assertEquals (2 , len (files ))
26
- self .assertEquals ("my_rules" , files [0 ][0 ])
27
- self .assertEquals (os .path .join (repo_root , "my_rules_install.json" ), files [0 ][1 ])
28
- self .assertEquals ("maven" , files [1 ][0 ])
29
- self .assertEquals (os .path .join (repo_root , "tools" , "maven_install.json" ), files [1 ][1 ])
25
+ self .assertEqual (2 , len (files ))
26
+ self .assertEqual ("my_rules" , files [0 ][0 ])
27
+ self .assertEqual (os .path .join (repo_root , "my_rules_install.json" ), files [0 ][1 ])
28
+ self .assertEqual ("maven" , files [1 ][0 ])
29
+ self .assertEqual (os .path .join (repo_root , "tools" , "maven_install.json" ), files [1 ][1 ])
30
30
31
31
def test_path_with_glob (self ):
32
32
repo_root = tempfile .mkdtemp ("monorepo" )
@@ -37,11 +37,11 @@ def test_path_with_glob(self):
37
37
38
38
files = m .get_maven_install_names_and_paths (repo_root )
39
39
40
- self .assertEquals (2 , len (files ))
41
- self .assertEquals ("maven" , files [0 ][0 ])
42
- self .assertEquals (os .path .join (repo_root , "tools" , "maven_install.json" ), files [0 ][1 ])
43
- self .assertEquals ("my_rules" , files [1 ][0 ])
44
- self .assertEquals (os .path .join (repo_root , "tools" , "my_rules_install.json" ), files [1 ][1 ])
40
+ self .assertEqual (2 , len (files ))
41
+ self .assertEqual ("maven" , files [0 ][0 ])
42
+ self .assertEqual (os .path .join (repo_root , "tools" , "maven_install.json" ), files [0 ][1 ])
43
+ self .assertEqual ("my_rules" , files [1 ][0 ])
44
+ self .assertEqual (os .path .join (repo_root , "tools" , "my_rules_install.json" ), files [1 ][1 ])
45
45
46
46
def test_path_with_glob_and_exclusions (self ):
47
47
repo_root = tempfile .mkdtemp ("monorepo" )
@@ -52,11 +52,11 @@ def test_path_with_glob_and_exclusions(self):
52
52
53
53
files = m .get_maven_install_names_and_paths (repo_root )
54
54
55
- self .assertEquals (2 , len (files ))
56
- self .assertEquals ("maven_blah" , files [0 ][0 ])
57
- self .assertEquals (os .path .join (repo_root , "tools" , "maven_blah_install.json" ), files [0 ][1 ])
58
- self .assertEquals ("my_rules" , files [1 ][0 ])
59
- self .assertEquals (os .path .join (repo_root , "tools" , "my_rules_install.json" ), files [1 ][1 ])
55
+ self .assertEqual (2 , len (files ))
56
+ self .assertEqual ("maven_blah" , files [0 ][0 ])
57
+ self .assertEqual (os .path .join (repo_root , "tools" , "maven_blah_install.json" ), files [0 ][1 ])
58
+ self .assertEqual ("my_rules" , files [1 ][0 ])
59
+ self .assertEqual (os .path .join (repo_root , "tools" , "my_rules_install.json" ), files [1 ][1 ])
60
60
61
61
def _touch_file_at_path (self , repo_root_path , file_path ):
62
62
path = os .path .join (repo_root_path , file_path )
0 commit comments