@@ -109,14 +109,22 @@ def test_prepare_spreadsheet(self) -> None:
109109 self .assertCountEqual (result , expected )
110110
111111 def test_read_spreadsheet_iso_numbers (self ) -> None :
112- url = "https://docs.google.com/spreadsheets/d/1eZOEYgts7d_-Dr-1oAbogPfzBLh6511b58pX3b59kvg " # CRE spreadsheet url
112+ url = "https://docs.google.com/spreadsheets/d/1ugU-FCIRLc5D_xpKOunelo26Wel3PTLnMKFdu7isZ3s " # Public iso test CRE spreadsheet url
113113 alias = "Test Spreadsheet"
114114 result = read_spreadsheet (url , alias , validate = False , parse_numbered_only = False )
115-
116- # Assuming the spreadsheet has a column "ISO Number" with values "7.10" and "8.20"
117115 expected = [
118- {"ISO Number" : "7.10" , "Name" : "Example 1" , "Value" : 10 },
119- {"ISO Number" : "8.20" , "Name" : "Example 2" , "Value" : 20 },
116+ {
117+ "Standard 27001/2:2022" : "Use of cryptography" ,
118+ "Standard 27001/2:2022 Section ID" : "1.10" ,
119+ },
120+ {
121+ "Standard 27001/2:2022" : "Privacy and protection of personal identifiable information (PII)" ,
122+ "Standard 27001/2:2022 Section ID" : "10.10" ,
123+ },
124+ {
125+ "Standard 27001/2:2022" : "Secure development life cycle" ,
126+ "Standard 27001/2:2022 Section ID" : "1.31" ,
127+ },
120128 ]
121129
122- self .assertEqual (result ["Sheet1 " ], expected )
130+ self .assertEqual (result ["ISO Numericise Test " ], expected )
0 commit comments