Skip to content

Commit

Permalink
fix: update test case to latest code updates!
Browse files Browse the repository at this point in the history
  • Loading branch information
amindadgar committed Jun 25, 2024
1 parent 35ca5a0 commit 954ed19
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/unit/test_process_non_reaction_heatmaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

import numpy as np
from discord_analyzer.algorithms.compute_interaction_matrix_discord import (
process_non_reactions,
process_actions,
)


class TestProcessNonReactions(TestCase):
def test_empty_inputs(self):
intput_data = {}
results = process_non_reactions(heatmaps_data_per_acc=intput_data)
results = process_actions(heatmaps_data_per_acc=intput_data)
self.assertEqual(results, {})

def test_single_account_no_action(self):
Expand All @@ -29,7 +29,7 @@ def test_single_account_no_action(self):
}
]
}
results = process_non_reactions(input_data)
results = process_actions(input_data)

expected_results = {
"acc1": [
Expand Down Expand Up @@ -70,7 +70,7 @@ def test_single_account_with_action(self):
}
]
}
results = process_non_reactions(input_data)
results = process_actions(input_data)
expected_results = {
"acc1": [
{
Expand Down Expand Up @@ -125,7 +125,7 @@ def test_multiple_account_with_action(self):
}
],
}
results = process_non_reactions(input_data)
results = process_actions(input_data)

expected_results = {
"acc1": [
Expand Down Expand Up @@ -203,7 +203,7 @@ def test_multiple_account_multiple_documents_with_action(self):
}
],
}
results = process_non_reactions(input_data)
results = process_actions(input_data)

expected_results = {
"acc1": [
Expand Down

0 comments on commit 954ed19

Please sign in to comment.