示例#1
0
 def test_integer(self):
     self.assertFalse(is_project_identifier(123456))
示例#2
0
 def test_random_string(self):
     self.assertFalse(is_project_identifier("asasdasdaonrogmnspmfsohg9jn4"))
示例#3
0
 def test_integer_string(self):
     self.assertFalse(is_project_identifier("123456"))
示例#4
0
 def test_versioned_r_proj_ident(self):
     self.assertTrue(is_project_identifier("r000301v02"))
示例#5
0
 def test_empty_string(self):
     self.assertFalse(is_project_identifier(""))
示例#6
0
 def test_r_proj_ident(self):
     self.assertTrue(is_project_identifier("r000301"))
示例#7
0
 def test_versioned_q_proj_ident(self):
     self.assertTrue(is_project_identifier("q000351v01"))
示例#8
0
 def test_q_proj_ident(self):
     self.assertTrue(is_project_identifier("q000351"))
示例#9
0
 def test_versioned_proj_ident(self):
     self.assertTrue(is_project_identifier("3001234v03"))
示例#10
0
 def test_basic_proj_ident(self):
     self.assertTrue(is_project_identifier("3001234"))