Skip to content

Commit

Permalink
refactoring changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RushiT0122 committed Feb 26, 2024
1 parent 431fb12 commit ba8ce96
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 17 deletions.
15 changes: 9 additions & 6 deletions tests/sfbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -1025,21 +1025,24 @@ def get_streams_with_data():
'LoginHistory',
'LeadStatus',
'Lead',
'LightningUsageByFlexiPageMetrics',
'FormulaFunctionAllowedType',
'LoginIp',
'LightningUsageByAppTypeMetrics',
'FileSearchActivity',
'FormulaFunctionCategory',
'LightningUsageByBrowserMetrics',
'Folder',
'FormulaFunction',
'MatchingRule',
'LightningUsageByPageMetrics',

# removing form the list has not getting any data
# 'LightningUsageByFlexiPageMetrics',
# 'LightningUsageByAppTypeMetrics',
# 'LightningUsageByBrowserMetrics',
# 'LightningUsageByPageMetrics',
# 'LightningToggleMetrics',
# 'LightningExitByPageMetrics',

'LoginGeo',
'FlowDefinitionView',
'LightningToggleMetrics',
#'LightningExitByPageMetrics', --- removing form the list has not getting any data
'PermissionSetTabSetting',
'MilestoneType',
'Period',
Expand Down
13 changes: 2 additions & 11 deletions tests/test_salesforce_switch_rep_method_ft_incrmntl.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,8 @@ def name():


def expected_sync_streams(self):
# Excluded the below streams due to the bug TDL-24514
streams = self.switchable_streams() - {'FlowDefinitionView',
'EntityDefinition',
'EventLogFile'}

# Excluded below streams because these streams don't have test data avaialable
streams = self.switchable_streams() - {'LightningToggleMetrics',
'LightningUsageByAppTypeMetrics',
'LightningUsageByPageMetrics',
'LightningUsageByBrowserMetrics',
'LightningUsageByFlexiPageMetrics'}
streams = self.switchable_streams() - {'FlowDefinitionView','EntityDefinition'}
# Excluded the above two streams due to the bug TDL-24514
return self.partition_streams(streams)


Expand Down

0 comments on commit ba8ce96

Please sign in to comment.