smartpush 2.0.9__py3-none-any.whl → 2.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
smartpush/crowd/crowd.py CHANGED
@@ -97,13 +97,11 @@ class CrowdList(RequestBase):
97
97
  return resultData
98
98
 
99
99
  class AssertCrowd(Crowd):
100
- def __init__(self,try_number = 3):
101
- super(AssertCrowd, self).__init__()
102
- self.try_number = try_number
103
- def getTryNumber(self):
104
- return self.try_number
100
+ def __init__(self, crowd_id, host, headers, **kwargs):
101
+ super(AssertCrowd, self).__init__(crowd_id=crowd_id, host=host, headers=headers, **kwargs)
102
+ self.crowd_id = crowd_id
105
103
 
106
- @retry(stop=stop_after_attempt(getTryNumber()), wait=wait_fixed(3), after=log_attempt)
104
+ @retry(stop=stop_after_attempt(3), wait=wait_fixed(3), after=log_attempt)
107
105
  def assert_filter_value_in_person_package(self, page=1, pageSize=20, filter_type=None, operator='eq', filter_value=None):
108
106
  try:
109
107
  crowd_persons = super.callCrowdPersonListInPackage(page=page, pageSize=pageSize, filter_type=filter_type, operator=operator, filter_value=filter_value)
smartpush/test.py ADDED
File without changes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: smartpush
3
- Version: 2.0.9
3
+ Version: 2.1.1
4
4
  Summary: 用于smartpush自动化测试工具包
5
5
  Author: lulu、felix、long
6
6
 
@@ -1,5 +1,6 @@
1
1
  smartpush/__init__.py,sha256=XJrl1vhGATHSeSVqKmPXxYqxyseriUpvY5tLIXir3EE,24
2
2
  smartpush/get_jira_info.py,sha256=s3hPwC6KePS5BtqNS9o15eCh7Nx2gn16bn6tfYK0iQI,18112
3
+ smartpush/test.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
4
  smartpush/account/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
5
  smartpush/account/operate_account.py,sha256=nzJLLAEwNElavZeWVqnA_MSGTBzQrSrknmezYBwtvWs,1525
5
6
  smartpush/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -9,7 +10,7 @@ smartpush/base/url_enum.py,sha256=47XCczKEvTcO6Ap4VbEfV7K_S0t2xu3O434sHqwycE4,28
9
10
  smartpush/contacts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
11
  smartpush/contacts/contacts.py,sha256=JssmzyHmFF6TeIKpFH6VvGC5abBXOzkSwZrAWA8v8a8,1718
11
12
  smartpush/crowd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
- smartpush/crowd/crowd.py,sha256=ipk2wjPdYlw4xCJw-MPhXuhCJJE1ammiqptlEil6EXU,10647
13
+ smartpush/crowd/crowd.py,sha256=jxX8svt6bRytGLSYiZbCn5RnE7OiRZH0QGgPawlMhMU,10646
13
14
  smartpush/email/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
15
  smartpush/email/activity.py,sha256=rQ62GIfg0Yh0fFkwiaRIVATBn5vY1wZzbLEJLwHmx1E,10016
15
16
  smartpush/email/schema.py,sha256=mysik-N6cry4HuSxzMMhQFsnnu5_UJ_oqVPTGY1RUkQ,31471
@@ -37,7 +38,7 @@ smartpush/utils/StringUtils.py,sha256=n8mo9k0JQN63MReImgv-66JxmmymOGknR8pH2fkQrA
37
38
  smartpush/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
39
  smartpush/utils/date_utils.py,sha256=Xgx2DbmWYri71xXBiaKYTZDeh2a8MFhYns_xB0U2JOA,13159
39
40
  smartpush/utils/form_utils.py,sha256=ld-g_Dm_ZlnagQt7imYfUc87bcBRVlTctywuLtzmjXQ,849
40
- smartpush-2.0.9.dist-info/METADATA,sha256=DahI0da_ym32xbQYta6LEthfU9d28O_MV-iErogXzBI,131
41
- smartpush-2.0.9.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
42
- smartpush-2.0.9.dist-info/top_level.txt,sha256=5_CXqu08EfbPaKLjuSAOAqCmGU6shiatwDU_ViBGCmg,10
43
- smartpush-2.0.9.dist-info/RECORD,,
41
+ smartpush-2.1.1.dist-info/METADATA,sha256=FERE2Oyr7a7q1u94X4AVcYfySe0H0LZzaNKLPVP3-nA,131
42
+ smartpush-2.1.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
43
+ smartpush-2.1.1.dist-info/top_level.txt,sha256=5_CXqu08EfbPaKLjuSAOAqCmGU6shiatwDU_ViBGCmg,10
44
+ smartpush-2.1.1.dist-info/RECORD,,