Skip to content

Commit

Permalink
Reduce number of PDB tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluebbert authored Nov 14, 2023
1 parent 3e16c63 commit 5782f47
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions tests/test_pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ def test_pdb_assembly(self):

self.assertEqual(result_to_test, expected_result)

def test_pdb_branched_entity(self):
test = "test2"
expected_result = pdb_dict[test]["expected_result"]
result_to_test = pdb(**pdb_dict[test]["args"])
# def test_pdb_branched_entity(self):
# test = "test2"
# expected_result = pdb_dict[test]["expected_result"]
# result_to_test = pdb(**pdb_dict[test]["args"])

self.assertEqual(result_to_test, expected_result)
# self.assertEqual(result_to_test, expected_result)

def test_pdb_nonpolymer_entity(self):
test = "test3"
expected_result = pdb_dict[test]["expected_result"]
result_to_test = pdb(**pdb_dict[test]["args"])
# def test_pdb_nonpolymer_entity(self):
# test = "test3"
# expected_result = pdb_dict[test]["expected_result"]
# result_to_test = pdb(**pdb_dict[test]["args"])

self.assertEqual(result_to_test, expected_result)
# self.assertEqual(result_to_test, expected_result)

def test_pdb_uniprot(self):
test = "test4"
Expand All @@ -39,26 +39,26 @@ def test_pdb_uniprot(self):

self.assertListEqual(result_to_test, expected_result)

def test_pdb_branched_entity_instance(self):
test = "test5"
expected_result = pdb_dict[test]["expected_result"]
result_to_test = pdb(**pdb_dict[test]["args"])
# def test_pdb_branched_entity_instance(self):
# test = "test5"
# expected_result = pdb_dict[test]["expected_result"]
# result_to_test = pdb(**pdb_dict[test]["args"])

self.assertEqual(result_to_test, expected_result)
# self.assertEqual(result_to_test, expected_result)

def test_pdb_nonpolymer_entity_instance(self):
test = "test6"
expected_result = pdb_dict[test]["expected_result"]
result_to_test = pdb(**pdb_dict[test]["args"])
# def test_pdb_nonpolymer_entity_instance(self):
# test = "test6"
# expected_result = pdb_dict[test]["expected_result"]
# result_to_test = pdb(**pdb_dict[test]["args"])

self.assertEqual(result_to_test, expected_result)
# self.assertEqual(result_to_test, expected_result)

def test_pdb_npolymer_entity_instance(self):
test = "test7"
expected_result = pdb_dict[test]["expected_result"]
result_to_test = pdb(**pdb_dict[test]["args"])
# def test_pdb_npolymer_entity_instance(self):
# test = "test7"
# expected_result = pdb_dict[test]["expected_result"]
# result_to_test = pdb(**pdb_dict[test]["args"])

self.assertEqual(result_to_test, expected_result)
# self.assertEqual(result_to_test, expected_result)

def test_pdb_entry(self):
test = "test8"
Expand Down

0 comments on commit 5782f47

Please sign in to comment.