Пример #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"))