def test_all_atoms_same_num_orbitals(self, norb, expected_result):
        # Setup
        Job = InitJob("test_data/JobDef_scase.json")

        # Fake
        Job.NOrb = norb

        # Action
        result = Job.Electron.all_atoms_same_num_orbitals(Job)

        # Result
        assert result is expected_result