Skip to content

Commit

Permalink
run black
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed Sep 16, 2022
1 parent 66fa442 commit 84f1af2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 2 additions & 6 deletions tests/ccsds/test_space_packet.py
Expand Up @@ -246,13 +246,9 @@ def test_utility(self):

def test_equality_sp_packet(self):
sp = SpacePacket(
sp_header=self.sp_header,
sec_header=None,
user_data=bytes([0, 1, 2])
sp_header=self.sp_header, sec_header=None, user_data=bytes([0, 1, 2])
)
other_sp = SpacePacket(
sp_header=self.sp_header,
sec_header=None,
user_data=bytes([0, 1, 2])
sp_header=self.sp_header, sec_header=None, user_data=bytes([0, 1, 2])
)
self.assertEqual(sp, other_sp)
4 changes: 3 additions & 1 deletion tests/ecss/test_pus_tc.py
Expand Up @@ -62,7 +62,9 @@ def test_from_sph(self):
sp = SpacePacketHeader(
apid=0x02, packet_type=PacketType.TC, seq_count=0x34, data_len=0
)
ping_tc_from_sph = PusTelecommand.from_sp_header(sp_header=sp, service=17, subservice=1)
ping_tc_from_sph = PusTelecommand.from_sp_header(
sp_header=sp, service=17, subservice=1
)
self.assertEqual(self.ping_tc, ping_tc_from_sph)

def test_custom_source_id(self):
Expand Down

0 comments on commit 84f1af2

Please sign in to comment.